pthread 的 api 分类

Posted zzfx

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pthread 的 api 分类相关的知识,希望对你有一定的参考价值。

pthreads defines a set of C programming language typesfunctions and constants. It is implemented with a pthread.h header and a thread library.

There are around 100 threads procedures, all prefixed pthread_ and they can be categorized into four groups:

The POSIX semaphore API works with POSIX threads but is not part of threads standard, having been defined in the POSIX.1b, Real-time extensions (IEEE Std 1003.1b-1993) standard. Consequently, the semaphore procedures are prefixed by sem_ instead of pthread_.

 

https://en.wikipedia.org/wiki/POSIX_Threads

以上是关于pthread 的 api 分类的主要内容,如果未能解决你的问题,请参考以下文章

用户态API(pthread)

(转载)pThreads线程 基本API

onActivityResult 未在 Android API 23 的片段上调用

线程同步API

Pthreads 与 OpenMP

线程属性API