摘要: 1 #include 2 #include 3 #include 4 #include 5 6 void *pthread_fun(void *arg) 7 { 8 int b; 9 b = *(int *)arg; 10 printf("b = %d \n",b); 11 int i = 5 ; 12 while(i > 0) 13 { 1... 阅读全文
posted @ 2016-06-24 11:53 自由石匠 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 创建守护进程 阅读全文
posted @ 2016-06-24 10:52 自由石匠 阅读(207) 评论(0) 推荐(0) 编辑