当前位置:首页 » 翻译 
  • 匿名
关注:1 2013-05-23 12:21

求翻译:On Linux, select() modifies timeout to reflect the amount of time not slept; most other implementations do not do this. (POSIX.1-2001 permits either behavior.) This causes prob‐lems both when Linux code which reads timeout is ported to other operating systems, and when code is ported to Linux that reuses a s是什么意思?

待解决 悬赏分:1 - 离问题结束还有
On Linux, select() modifies timeout to reflect the amount of time not slept; most other implementations do not do this. (POSIX.1-2001 permits either behavior.) This causes prob‐lems both when Linux code which reads timeout is ported to other operating systems, and when code is ported to Linux that reuses a s
问题补充:

  • 匿名
2013-05-23 12:21:38
在Linux上,选择()修改超时反映的不是睡过时间量;
  • 匿名
2013-05-23 12:23:18
在Linux中,select()修改超时以反映的时间没有好好睡觉了;其他大多数实现都不这样做。 (POSIX2001许可证行为。)这就导致PROB-在LEMs的Linux代码读取超时将被移植到其它操作系统,当代码将被移植到Linux,重复使用一个结构的多个TimeVal参数(select()s在一个环路,而不是重新初始化。 考虑超时后未定义select()返回。
  • 匿名
2013-05-23 12:24:58
在Linux,精选() 修改暂停反射没睡觉的时间; 多数其他实施不做此。 (POSIX.1-2001允许任一行为。) 这导致prob ‐ lems,当读暂停时的Linux代码被端起对其他操作系统,并且,当代码被端起对在圈重复利用一struct timeval为()倍数精选的s,无需重新起首它的Linux。 考虑暂停未定义,在精选的() 回归之后。
  • 匿名
2013-05-23 12:26:38
正在翻译,请等待...
  • 匿名
2013-05-23 12:28:18
在 Linux, select() 修改 超时 到 反映时间量不睡觉;多数其他执行不做这。(POSIX.1-2001 允许每种行为 .) 这 导致 问题 两个都阅读超时的 Linux 代码到其他操作系统被移植时,代码到为了在一个圈方面的多个 select() s 再利用一 struct timeval 而没有重新初始化它的 Linux 被移植时。select() 归来后认为超时被不定义。
 
 
网站首页

湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区

 
关 闭