Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Pthreads
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Execution model which allows for parallel computing}}{{lowercase}} In [[computing]], '''POSIX Threads''', commonly known as '''pthreads''', is an [[execution model]] that exists independently from a [[programming language]], as well as a [[Parallel computing|parallel execution]] model. It allows a [[Computer program|program]] to control multiple different flows of work that overlap in time. Each flow of work is referred to as a ''[[thread (computing)|thread]]'', and creation and control over these flows is achieved by making calls to the POSIX Threads [[API]]. POSIX Threads is an API defined by the [[Institute of Electrical and Electronics Engineers]] (IEEE) standard ''[[POSIX]].1c, Threads extensions (IEEE Std 1003.1c-1995)''. Implementations of the API are available on many [[Unix-like]] POSIX-conformant [[operating system]]s such as [[FreeBSD]], [[NetBSD]], [[OpenBSD]], [[Linux]], [[macOS]], [[Android (operating system)|Android]],<ref>{{cite web|url=https://android.googlesource.com/platform/bionic/+/10ce969/libc/bionic/pthread.c|title=libc/bionic/pthread.c - platform/bionic - Git at Google|website=android.googlesource.com}}</ref> [[Solaris (operating system)|Solaris]], [[Redox (operating system)|Redox]], and [[AUTOSAR]] Adaptive, typically bundled as a library '''libpthread'''. [[DR-DOS]] and [[Microsoft Windows]] implementations also exist: within the [[Windows Services for UNIX|SFU/SUA]] subsystem which provides a native implementation of a number of POSIX APIs, and also within [[third-party software component|third-party]] packages such as ''pthreads-w32'',<ref>{{cite web|url=http://sources.redhat.com/pthreads-win32/conformance.html|title=Pthread Win-32: Level of standards conformance|date=2006-12-22|access-date=2010-08-29|archive-date=2010-06-11|archive-url=https://web.archive.org/web/20100611172430/http://sources.redhat.com/pthreads-win32/conformance.html|url-status=dead}}</ref> which implements pthreads on top of existing [[Windows API]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)