[問題] 如何在VS2010中加入pthread

看板C_and_CPP (C/C++)作者時間12年前 (2013/12/19 23:02), 編輯推噓2(202)
留言4則, 4人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) visual studio 2010 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) pthread 問題(Question): 想用visual studio 2010寫multi-thread程式 但不知道VisualStudio要怎麼加入pthread的.dll檔.. DevC 就蠻簡單,只要在專案參數裡加進去就可以了, 但visual卻好麻煩.. 麻煩大家給點建議 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.115.51.180

12/20 09:37, , 2F
how about use STL thread
12/20 09:37, 2F

12/20 16:51, , 3F
想請問stl對於win32 thread似乎很有限 有一定要使用的必要嗎?
12/20 16:51, 3F

12/20 20:22, , 4F
重點是VS2010根本沒有STL thread,建議直接用Win32 API
12/20 20:22, 4F
文章代碼(AID): #1Iimg2KW (C_and_CPP)
文章代碼(AID): #1Iimg2KW (C_and_CPP)