mailing list of musl libc
 help / color / mirror / code / Atom feed
87eed6233c5c696dbc1e77285dac1ed4243ecaca blob 300 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
#include "pthread_impl.h"
#include <sys/mman.h>

WEAK_PROVIDE_VOIDP;

int pthread_join(pthread_t t, void **res)
{
	int tmp;
	while ((tmp = t->tid)) __timedwait(&t->tid, tmp, 0, 0, __weak_dummy_voidp, 0, 0);
	if (res) *res = t->result;
	if (t->map_base) munmap(t->map_base, t->map_size);
	return 0;
}
debug log:

solving 87eed62 ...
found 87eed62 in https://inbox.vuxu.org/musl/fef8bbf759787cabc4ffd61c4e3357bc11112f8b.1360968989.git.Jens.Gustedt@inria.fr/
found 719c91c in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 719c91ca24f7b03f729657a27208e10e3bf1c020	src/thread/pthread_join.c

applying [1/1] https://inbox.vuxu.org/musl/fef8bbf759787cabc4ffd61c4e3357bc11112f8b.1360968989.git.Jens.Gustedt@inria.fr/
diff --git a/src/thread/pthread_join.c b/src/thread/pthread_join.c
index 719c91c..87eed62 100644

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

index at:
100644 87eed6233c5c696dbc1e77285dac1ed4243ecaca	src/thread/pthread_join.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).