diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-30 04:05:56 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-30 04:05:56 +0000 |
commit | 19f8b54848d022d0994f6f79e991f758f0120ad6 (patch) | |
tree | dc912c0a271577fcd256bb0d6e45c6bdf22cd696 /lib/librthread/rthread_sig.c | |
parent | 388cc63c0cc328888ee5105916d6cf0e2041560e (diff) |
prototype all the thread syscalls in rthread.h for now.
update for new thrwakeup that takes a count argument
Diffstat (limited to 'lib/librthread/rthread_sig.c')
-rw-r--r-- | lib/librthread/rthread_sig.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/librthread/rthread_sig.c b/lib/librthread/rthread_sig.c index 4b22e8169aa..def2bd47777 100644 --- a/lib/librthread/rthread_sig.c +++ b/lib/librthread/rthread_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread_sig.c,v 1.3 2005/12/19 06:50:13 tedu Exp $ */ +/* $OpenBSD: rthread_sig.c,v 1.4 2005/12/30 04:05:55 tedu Exp $ */ /* * Copyright (c) 2005 Ted Unangst <tedu@openbsd.org> * All Rights Reserved. @@ -36,10 +36,6 @@ #include "rthread.h" -int thrwakeup(void *); -int thrsleep(void *, int, void *); -int thrsigdivert(const sigset_t *); - int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) { @@ -60,7 +56,7 @@ sigwait_handler(int sig) { pthread_t self = pthread_self(); self->sigpend = sig; - thrwakeup(&self->sigpend); + thrwakeup(&self->sigpend, 0); } typedef void (*sigfn)(int); |