I've done threads in Java, but I'm a complete noob to threads in C. My first question, after googling some, is: Which thread library do I use? Does it matter? It seems I have thread.h
and pthread.h
to choose from.
OS is, and will be, Linux. More specifically, it's Ubuntu at the moment and will either stay like that, or become RHEL. But I guess the distro doesn't matter?
POSIX系统(如linux)上的标准线程接口是pthread,用于POSIX线程。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.