mailing list of musl libc
 help / color / mirror / code / Atom feed
af8772a6050604b98df4f04086028afff1d72e36 blob 373 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
#include <threads.h>

int __pthread_key_create(tss_t *k, void (*dtor)(void *));

int tss_create(tss_t *tss, tss_dtor_t dtor)
{
	/* Different error returns are possible. C glues them together into
	   just failure notification. Can't be optimized to a tail call,
	   unless thrd_error equals EAGAIN. */
	return __pthread_key_create(tss, dtor) ? thrd_error : thrd_success;
}
debug log:

solving af8772a ...
found af8772a in https://inbox.vuxu.org/musl/09db1c648c8e0084b26a3c73c1d59ffa43bec843.1409423162.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/d4d115772af1dddad0be0f978403ae9847f893bc.1409524413.git.Jens.Gustedt@inria.fr/

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

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

skipping https://inbox.vuxu.org/musl/d4d115772af1dddad0be0f978403ae9847f893bc.1409524413.git.Jens.Gustedt@inria.fr/ for af8772a
index at:
100644 af8772a6050604b98df4f04086028afff1d72e36	src/thread/tss_create.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).