X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fsynccall.c;h=1520b3b40b582855e27b394120500fb32ddb5d0a;hb=970ef6a1240adfd685c27bf3407dfd06606a17e8;hp=2cd25e4bb2b84315ca4adb9c562d4592eebcb55a;hpb=407d933052c310ebc5541dae2ecd8c4bd8f55fb9;p=musl diff --git a/src/thread/synccall.c b/src/thread/synccall.c index 2cd25e4b..1520b3b4 100644 --- a/src/thread/synccall.c +++ b/src/thread/synccall.c @@ -47,14 +47,6 @@ static void handler(int sig, siginfo_t *si, void *ctx) errno = old_errno; } -void __synccall_wait() -{ - struct chain *ch = cur; - sem_post(&ch->sem2); - while (sem_wait(&ch->sem)); - sem_post(&ch->sem); -} - void __synccall(void (*func)(void *), void *ctx) { pthread_t self;