谁注册了丁丁

导航

2013年7月25日 #

线程间通信--线程创建与销毁

摘要: 1. pthread_create(&a_thread, NULL, thread_function, (void *)message); pthread_create(&a_thread, NULL, thread_function, (void *)num);原型: #include int pthread_create(pthread_t *restrict thread, const pthread_attr_t *restrict attr, void *(*start_routine)(void*), ... 阅读全文

posted @ 2013-07-25 10:27 leaker 阅读(985) 评论(0) 推荐(0) 编辑