開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Linux
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
<pthread.h>
<semaphore.h>
問題(Question):
pthread 和 semaphore 一起使用的問題,
在網路上找到的許多範例 compile 都會出現一樣的問題
會顯示`sem_init'、`pthread_create'、`sem_wait'這些都未定義
不知道問題出在哪邊
程式碼(Code):(請善用置底文網頁, 記得排版)
http://codepad.org/9Lt6HuBF
補充說明(Supplement):