lzhenf

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年3月27日

摘要: /*********************** * author :lzhenf * it's a program with args for mutithread in linux OS * date:2012.3.27 * ***********************/#include <stdio.h>#include <pthread.h>void* mythread(void* args){ char *str1; str1 = (char *)args; sleep(5); printf("the thread id is %u&quo 阅读全文
posted @ 2012-03-27 15:47 lzhenf 阅读(185) 评论(0) 推荐(0) 编辑