本文介紹瞭如何在C 語言中獲取執行緒ID. ... tid = (long)threadid; printf("Hello There! thread %ld, pthread ID - %lu\n", tid, pthread_self()); ...
確定! 回上一頁