然後各thread去累加一個global的變數。 thread_parameter的資料結構: 儲存pthread id, name和value struct thread_parameter { pthread_t student_thread; ...
確定! 回上一頁