摘要:
*********LINUX线程************1、linux用pthread_create(pthread_t*,constpthread_attr_t*,void*(*)(void*), void*),这个函数创建线程,线程在外部实现:void*abc(void*)。创建线程时,第三项参数写为:&abc转为指针即可。2、linux中返回为void*的线程中无return语句,编译出错:error:no return statement in function returning non-void.解决:加入return NULL即可。*************Windows API 阅读全文
posted @ 2013-10-24 11:03
LeYi
阅读(232)
评论(0)
推荐(0)
浙公网安备 33010602011771号