Thread
c語言沒有內建thread 所以要用PThread(POSIX thread)
c++ 可以使用#include <thread>
範例:
一篇不錯的文章
https://kheresy.wordpress.com/2012/07/06/multi-thread-programming-in-c-thread-p1/
https://kheresy.wordpress.com/2012/07/11/multi-thread-programming-in-c-thread-p2/
Last updated