[理工] 106 中山 OS

看板Grad-ProbAsk作者 (開心就拍手)時間6年前 (2019/01/29 10:38), 編輯推噓1(101)
留言2則, 1人參與, 6年前最新討論串2/2 (看更多)
https://i.imgur.com/ray1pbU.jpg
想問這題的pthread_create和pthread_join是作什麼功用的? 答案我寫101 103 103 101 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.231.177.68 ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1548729524.A.143.html

01/29 15:22, 6年前 , 1F
Create 創一個thread 參數為某個function ptr
01/29 15:22, 1F

01/29 15:22, 6年前 , 2F
Join就是讓thread進入schedule 開始run
01/29 15:22, 2F
文章代碼(AID): #1SJxoq53 (Grad-ProbAsk)
討論串 (同標題文章)
文章代碼(AID): #1SJxoq53 (Grad-ProbAsk)