sleep func
来源:互联网 发布:广西广电网络宽带价钱 编辑:程序博客网 时间:2024/06/16 08:41
#include<stdio.h>#include<stdlib.h>#include<signal.h>void handler(int num){ if(num == SIGQUIT) { printf("receive sig num is %d\n",num); }}int main(){ int n = 10; signal(SIGQUIT,handler); #if 0 while(n > 0) { n =sleep(n); } #else sleep(n);//sleep is a interrutp sleep,if you want to not distrupt by interruop ,you shuould up #endif}
阅读全文
0 0
- sleep func
- func
- func
- sleep
- sleep
- sleep()
- Sleep
- sleep
- sleep
- sleep
- sleep()
- func,func(),new func()的区别
- callback func
- FUNC 使用指南
- Func 委托
- Func 委托
- func安装
- Func,Action
- 自连接
- jsp中${name}这个怎么用的?
- android 网络连接的判断
- Spring.xml事物配置
- 深入理解java虚拟机
- sleep func
- Fragment加RadioGroup show和hide
- wamp解决apache服务无法开启的问题
- 使用jquery.qrcode生成二维码
- A
- 用jsoup采集福建11x5开奖结果
- Ansible常用模块介绍
- RTX2009管理器服务运行状态空白
- kears 卷积层