X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthread%2Fpthread_join.c;fp=src%2Fthread%2Fpthread_join.c;h=1b0c4f35de683bac3d15a5c4b6e0c87a61b49501;hb=eb351a9e633e5893f0c3bb48808c3ed0280585b5;hp=664abda94a2616f14a318ddffb9b0a4ffb4aa34b;hpb=b4de6f93aed733b8fc8d103e5ced69ebe7d659e6;p=musl diff --git a/src/thread/pthread_join.c b/src/thread/pthread_join.c index 664abda9..1b0c4f35 100644 --- a/src/thread/pthread_join.c +++ b/src/thread/pthread_join.c @@ -7,7 +7,7 @@ static void dummy(void *p) int pthread_join(pthread_t t, void **res) { int tmp = t->tid; - if (tmp) __timedwait(&t->tid, tmp, 0, 0, dummy, 0, 1); + if (tmp) __timedwait(&t->tid, tmp, 0, 0, dummy, 0, 0); if (res) *res = t->result; if (t->map_base) munmap(t->map_base, t->map_size); return 0;