文件名称:testsleepmyown
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 1.09kb
- 下载次数:
- 0次
- 提 供 者:
- 林*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
自己实现的sleep函数,通过alarm定时.由于mysleep是个子函数,对其调用者需考虑几种情况,即调用者在调用mysleep之前设置的闹钟时间未被超过和设置的闹钟时间被超过(同未设置闹钟),且要考虑调用者是否有未决信号及其是否屏蔽SIGALRM信号,因为这将影响mysleep函数的调用。-of achieving his sleep function, through the alarm regularly. As mysleep function, is making its caller need to consider several circumstances, in that call mysleep call set up before the alarm clock time is not over and install an alarm clock time was over (the same Failure to put in alarm clock), and the call to consider whether there is outstanding and whether the signal shielding SIGALRM signal because this will affect mysleep function call.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 45666005testsleepmyown.rar 列表 testsleep.c