OpenGrok
Cross Reference: call_once.c
xref
: /
src
/
lib
/
libpthread
/
call_once.c
Home
|
History
|
Annotate
|
Download
|
only in
libpthread
History log of
/src/lib/libpthread/call_once.c
Revision
Date
Author
Comments
1.2
24-Apr-2019
kamil
branches: 1.2.2;
Drop error path from C11 call_once
The original implementation of C11 threads(3) contained check for error
paths, but it was stripped in the calls that are documented to return
no status from an operation. Do the same in call_once(3).
1.1
24-Apr-2019
kamil
Add a complete C11 threads(3) implementation
C11 Thread support library is a portable threading C API between OSs,
similar to std::threads in the C++ world.
The library is implemented as a thin shim over POSIX interfaces.
NetBSD implements the API as a part of the POSIX threading library
(libpthread(3)).
C11 threads(3) are in the process of making them an integral part
of the POSIX standard. The interface has been implemented in major
OSs and used with stopgap libraries for older versions of them.
C11 threading library is already used (with a stopgap implementation)
in the NetBSD distribution in MESA.
Original implementation by myself from 2016.
ATF tests are new and cover almost all interfaces.
Proposed on tech-userlevel@.
1.2.2.2
10-Jun-2019
christos
Sync with HEAD
1.2.2.1
24-Apr-2019
christos
file call_once.c was added on branch phil-wifi on 2019-06-10 22:05:26 +0000
Indexes created Fri Sep 26 08:10:20 GMT 2025