OpenGrok
Cross Reference: pthread_once.c
xref
: /
src
/
lib
/
libpthread
/
pthread_once.c
Home
|
History
|
Annotate
|
Download
|
only in
libpthread
History log of
/src/lib/libpthread/pthread_once.c
Revision
Date
Author
Comments
1.5
04-Mar-2025
riastradh
pthread_once(3): Add missing memory barriers.
PR lib/59126: pthread_once(3): missing memory ordering
1.4
12-Feb-2022
riastradh
branches: 1.4.4;
libpthread: Move namespacing include to top of .c files.
Stuff like libc's namespace.h, or atomic_op_namespace.h, which does
namespacing tricks like `#define atomic_cas_uint _atomic_cas_uint',
has to go at the top of each .c file. If it goes in the middle, it
might be too late to affect the declarations, and result in compile
errors.
I tripped over this by including <sys/atomic.h> in mips
<machine/lock.h>.
(Maybe we should create a new pthread_namespace.h file for the
purpose, but this'll do for now.)
1.3
21-Mar-2013
christos
- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approved by core@
- This was chosen as the least intrusive patch that will provide
the necessary functionality.
XXX: pullup to 6
1.2
13-Mar-2012
joerg
branches: 1.2.2; 1.2.4;
Move the pthread_once alias where it belongs.
1.1
12-Mar-2012
joerg
Move pthread_once implementation into a separate file, it doesn't depend
on the mutex implementation in any way.
1.2.4.1
23-Jun-2013
tls
resync from head
1.2.2.3
22-May-2014
yamt
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
1.2.2.2
17-Apr-2012
yamt
sync with head
1.2.2.1
13-Mar-2012
yamt
file pthread_once.c was added on branch yamt-pagecache on 2012-04-17 00:05:31 +0000
1.4.4.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Fri Sep 26 20:09:58 GMT 2025