摘要: 创建一个新的线程 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); thread:返回线程ID attr:设置线程的属性,attr为NULL表示使用默认属性。 s... 阅读全文
posted @ 2015-03-14 14:47 tilly_chang 阅读(204) 评论(0) 推荐(0) 编辑