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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
#include "pthread_impl.h"

int __pthread_detach(pthread_t t)
{
	/* Cannot detach a thread that's already exiting */
	if (a_swap(t->exitlock, 1))
		return pthread_join(t, 0);
	t->detached = 2;
	__unlock(t->exitlock);
	return 0;
}
debug log:

solving e8ec758 ...
found e8ec758 in https://inbox.vuxu.org/musl/1e0e284e514b7a25ee75056617db64a051b3f3c2.1409524413.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/656ddffc4cd1288b2d0d60d6817796a69799e7bc.1409423162.git.Jens.Gustedt@inria.fr/
found 5ca7855 in https://inbox.vuxu.org/musl/1406886931.4830.92.camel@eris.loria.fr/ ||
	https://inbox.vuxu.org/musl/1407144603.8274.248.camel@eris.loria.fr/ ||
	https://inbox.vuxu.org/musl/d408051f223ecc194b28f8df1f113a30427d17f6.1409524413.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/b91c6335ff9753691922f845f726c18f8e68802a.1409423162.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/1409177505.4476.75.camel@eris.loria.fr/
found 651c38e in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 651c38ebe86cc82ce51aca57731da21c48851e73	src/thread/pthread_detach.c

applying [1/7] https://inbox.vuxu.org/musl/1406886931.4830.92.camel@eris.loria.fr/
diff --git a/src/thread/pthread_detach.c b/src/thread/pthread_detach.c\r
index 651c38e..5ca7855 100644\r

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

skipping https://inbox.vuxu.org/musl/1407144603.8274.248.camel@eris.loria.fr/ for 5ca7855
skipping https://inbox.vuxu.org/musl/d408051f223ecc194b28f8df1f113a30427d17f6.1409524413.git.Jens.Gustedt@inria.fr/ for 5ca7855
skipping https://inbox.vuxu.org/musl/b91c6335ff9753691922f845f726c18f8e68802a.1409423162.git.Jens.Gustedt@inria.fr/ for 5ca7855
skipping https://inbox.vuxu.org/musl/1409177505.4476.75.camel@eris.loria.fr/ for 5ca7855
index at:
100644 df69b2937c5f9ec6d35052f205cc1799ceb480dd	src/thread/pthread_detach.c

applying [2/7] https://inbox.vuxu.org/musl/1e0e284e514b7a25ee75056617db64a051b3f3c2.1409524413.git.Jens.Gustedt@inria.fr/
diff --git a/src/thread/pthread_detach.c b/src/thread/pthread_detach.c
index 5ca7855..e8ec758 100644

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

skipping https://inbox.vuxu.org/musl/656ddffc4cd1288b2d0d60d6817796a69799e7bc.1409423162.git.Jens.Gustedt@inria.fr/ for e8ec758
index at:
100644 ab4b1b902c577876ab1780301fb9a28cf7f6e9d8	src/thread/pthread_detach.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).