mailing list of musl libc
 help / color / mirror / code / Atom feed
26c735ccfee225077d273f7c70e81f27065ce750 blob 165 bytes (raw)

1
2
3
4
5
6
7
 
#include <threads.h>

int __pthread_once(once_flag *, void (*)(void));

void (call_once)(once_flag *flag, void (*func)(void)) {
	(void)__pthread_once(flag, func);
}
debug log:

solving 26c735c ...
found 26c735c in https://inbox.vuxu.org/musl/09db1c648c8e0084b26a3c73c1d59ffa43bec843.1409423162.git.Jens.Gustedt@inria.fr/

applying [1/1] https://inbox.vuxu.org/musl/09db1c648c8e0084b26a3c73c1d59ffa43bec843.1409423162.git.Jens.Gustedt@inria.fr/
diff --git a/src/thread/call_once.c b/src/thread/call_once.c
new file mode 100644
index 0000000..26c735c

Checking patch src/thread/call_once.c...
Applied patch src/thread/call_once.c cleanly.

index at:
100644 26c735ccfee225077d273f7c70e81f27065ce750	src/thread/call_once.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).