[問題] pthread可以自己分配thread要到哪個CPU上執行嗎?
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
linux
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
pthread
問題(Question):
有辦法自己指定thread要到哪個cpu上執行嗎?
或是可以有get cpu id等function知道cpu的id嗎?
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.225.128
推
09/27 10:20, , 1F
09/27 10:20, 1F
→
09/27 10:22, , 2F
09/27 10:22, 2F
推
09/27 15:52, , 3F
09/27 15:52, 3F
→
09/27 20:03, , 4F
09/27 20:03, 4F
→
09/27 20:03, , 5F
09/27 20:03, 5F
推
09/29 16:18, , 6F
09/29 16:18, 6F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章
11
38