g_main_loop_run (loop); return 0; } 這次compile 要再加上gthread-2.0 library,執行的結果如下: sh-3.2# ./thread. Thread: Running
確定! 回上一頁