OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 7266|回复: 2

不好意思问个简单问题

[复制链接]

32

主题

83

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
293
金钱
293
注册时间
2012-9-12
在线时间
18 小时
发表于 2013-8-26 09:48:37 | 显示全部楼层 |阅读模式
本人自学在看网络模块uip-refman资料时,有个单词protothread,总是不能理解这词的意思,
请问各位高手是怎么翻译这个词的?
原文如下:

6.1.7.9 #de?ne PT_WAIT_THREAD(pt, thread)

Block and wait until a child protothread completes.
This macro schedules a child protothread. The current protothread will block until the child protothread completes.

Note:
The child protothread must be manually initialized with the PT_INIT() function before this function isused.

Parameters:
pt A          pointer to the protothread control structure.
thread      The child protothread with arguments

See also:
PT_SPAWN()

De?nition at line 192 of ?le pt.h.

6.1.7.10 #de?ne PT_WAIT_UNTIL(pt, condition)

Block and wait until condition is true.
This macro blocks the protothread until the speci?ed condition is true

Parameters:
pt A     pointer to the protothread control structure.
condition    The condition.
Examples:
dhcpc.c.

De?nition at line 148 of ?le pt.h.
回复

使用道具 举报

527

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165777
金钱
165777
注册时间
2010-12-1
在线时间
2124 小时
发表于 2013-8-26 13:56:04 | 显示全部楼层
不解,帮顶。
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子产品购买店铺https://zhengdianyuanzi.tmall.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复 支持 反对

使用道具 举报

30

主题

703

帖子

1

精华

新手上路

积分
21
金钱
21
注册时间
2013-3-14
在线时间
52 小时
发表于 2013-8-26 13:58:07 | 显示全部楼层
看起来有点像“线程”的意思。
下面是金山词霸的翻译:
proto-
表示“第一, 主要”之义
thread
n.
线, 细丝, 线索, 思路, 螺纹
原子哥是不是又要出黑科技了呀。^_^...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /1 下一条

正点原子公众号

如发现本坛存在违规或侵权内容, 请点击这里发送邮件举报 (或致电020-38271790)。请提供侵权说明和联系方式。我们将及时审核依法处理,感谢配合。

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2026-4-10 05:23

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表