摘要: #include #include #include #include #include #include typedef struct worker{ void *(*process)(void *arg); void *arg; struct worker *next; }CThread_worker;typedef struct{ pthread_mutex_t queue_lock; pthread_cond_t queue_ready; CThread_worker *queue_head; int shutdown; pthread_t *threadid; int ... 阅读全文
posted @ 2013-11-07 15:48 HEYP 阅读(227) 评论(0) 推荐(0) 编辑