pthread_join与pthread_detach
摘要:pthread_t pthr; pthread_create(&pthr, NULL, thread_handler, NULL); ... void* thread_handler(void* arg) { /* do something */ pthread_join(pthr, NULL);
阅读全文
posted @ 2021-05-08 15:47
posted @ 2021-05-08 15:47