討論串[問題] pthread同步問題
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
不太懂你的意思@@?. 不是這樣就可以了嗎. void *fun(void *arg){. static int ticket = 0;. static pthread_mutex_t mutex;. pthread_mutex_lock(&mutex);. ticket++;. pthread_m
(還有148個字)
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). LINUX G++. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). pthread. 問題(Question):. 小弟之前有發一篇一樣的問題. 有用板友給的意見 用系
(還有992個字)
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). Linux G++. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). pthread. 問題(Question):. 小弟目前在寫一支平行程式. 想做的內容是. 生出k條
(還有173個字)
首頁
上一頁
1
下一頁
尾頁