|
关注:1
2013-05-23 12:21
求翻译:If the timer was already active, sys_setalarm returns the time remaining in its reply message. A return value of zero means the timer is not active. There are several possibilities to be considered. The timer might previously have been deactivateda timer is marked inactive by storing a special value, TMR_NEVER in its e是什么意思?![]() ![]() If the timer was already active, sys_setalarm returns the time remaining in its reply message. A return value of zero means the timer is not active. There are several possibilities to be considered. The timer might previously have been deactivateda timer is marked inactive by storing a special value, TMR_NEVER in its e
问题补充: |
|
2013-05-23 12:21:38
如果计时器已经启动,sys_setalarm返回其答复消息的剩余时间。一个返回值为零意味着定时器不活跃。有要考虑的几种可能性。计时器可能以前一直deactivateda定时器标记存储一个特殊的值无效,TMR_NEVER在其exp_time领域。至于C代码而言,这只是一个大的整数,所以此值显式的测试,检查是否过期时间已经过去了。定时器可能表明一个已经过去的时间。这是unlikley发生,但很容易检查。
|
|
2013-05-23 12:23:18
正在翻译,请等待...
|
|
2013-05-23 12:24:58
如果定时器已经是活跃的, sys_setalarm退回
|
|
2013-05-23 12:26:38
如果计时器已处于活动状态,sys_setalarm 将返回其答复邮件中的剩余时间。返回值为零意味着计时器处于不活动状态。有几个可能性来考虑。以前可能 deactivateda 计时器通过存储一个特殊值,TMR_NEVER 在其 exp_time 字段中被标记为非活动状态是计时器。据 C 代码来说这是只是一个大的整数,因此此值显式试验,作检查是否已通过的过期时间的一部分。计时器可能表明时间已经过去。这是 unlikley 发生,但很容易检查。
|
|
2013-05-23 12:28:18
|
湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区