Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果你有一个线程 Apthread_exit(return_val)在线程 B 可以调用之前调用 pthread_join(A, ret_val_A),结果是什么?join 是否像线程不存在一样返回?
pthread_exit(return_val)
pthread_join(A, ret_val_A)