OpenEdv-开源电子网

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

不好意思问个简单问题

[复制链接]

32

主题

84

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
291
金钱
291
注册时间
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.
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

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

使用道具 举报

30

主题

705

帖子

1

精华

新手上路

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

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-7-14 14:02

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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