在Thread 2s 函数中,我调用 pthread_join() 函数并传入Thread 1s ID。我希望这会导致线程1 先运行,然后线程2 再运行,但我得到的是它们同时运行。 这是因为 ...
確定! 回上一頁