討論串[語法] 關於pthread
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 2→)留言2則,0人參與, 最新作者wanilly (我恨你!)時間16年前 (2009/03/14 17:58), 編輯資訊
0
0
0
內容預覽:
下面是錯誤的訊息. gcc -lpthread test.c. test.c: In function `main':. test.c:16: error: `pthread_attr_default' undeclared(first use in this function)test.c:16:
(還有11個字)

推噓1(1推 0噓 3→)留言4則,0人參與, 最新作者wanilly (我恨你!)時間16年前 (2009/03/14 14:24), 編輯資訊
0
0
0
內容預覽:
下面為一個簡單的範例 使用pthread. 我在網路上看到的簡單範例. 但是我在linux下編譯卻無法通過. 請問一下我是不是遺漏了什麼(編譯上). 我想程式碼應該不會有錯誤 因為是網路上的範例. 謝謝. ============================. #include <stdio.h
(還有470個字)
首頁
上一頁
1
下一頁
尾頁