文件名称:testsleepmyown
-
所属分类:
- 标签属性:
- 上传时间: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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
testsleep.c
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.