Liste des Groupes | Revenir à cl c |
On 12/1/2024 7:54 AM, Kaz Kylheku wrote:On 2024-12-01, Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:>On Sun, 01 Dec 2024 15:10:03 +0000, candycanearter07 wrote:There's a standard library for multithreading.>
https://www.man7.org/linux/man-pages/man7/pthreads.7.html
Since C11, the C standard library has provided it's own support for
threading, which (I'm told) closely resembles the POSIX threading
model implemented in the Linux pthreads library.
Yes; they stupidly took a chunk of POSIX (IEE 1003 standard, originally
formed as a fork of C to standarize Unix things) and cloned an
incompatible version with different types and function names.
For over a decade before that, people were already using POSIX threads
on platforms that don't have POSIX threads, via libraries.
Here is one I used to always use back in the day over on Windows:
>
https://sourceware.org/pthreads-win32/
Les messages affichés proviennent d'usenet.