摘要:
#include <stdio.h>#include <glib.h>#include <pthread.h>#include <string.h>#define MAX_THREAD_NUM 10/*** @brief 线程池回调函数,线程执行的主体函数*/void show_result(gpointer str, gpointer data){ pthread_mutex_lock(&g_lock); printf("The result is : %s\n", str); pthread_mutex_unloc 阅读全文
posted @ 2011-11-11 14:24
DreamerHui
阅读(2933)
评论(1)
推荐(0)

浙公网安备 33010602011771号