2013年10月9日
摘要: 线程标识#includeint pthread_equal( //用于比较两个线程是否相等pthread_t tid1, //线程id=tid1pthread_t tid2);//线程id=tid2pthread_t pthread_self(void); //用于返回自身的线程id线程创建#includeint pthread_create( //用于创建线程pthread_t *restrict tidp,//线程idconst pthread_attr_t *restrict attr,//属性void *(*start_rin)(void*),//线程开始函数void *restric 阅读全文
posted @ 2013-10-09 22:29 笔记吧... 可能只有自己看得懂 阅读(251) 评论(0) 推荐(0) 编辑