summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authord <d@openbsd.org>2000-01-06 07:20:52 +0000
committerd <d@openbsd.org>2000-01-06 07:20:52 +0000
commitabc599e5ec4ccd4e024a503d806a0745a70eca7a (patch)
tree78a8ba9054ae39b70fc8d22772ac389eae887135 /lib/libpthread
parentunused var (diff)
downloadwireguard-openbsd-abc599e5ec4ccd4e024a503d806a0745a70eca7a.tar.xz
wireguard-openbsd-abc599e5ec4ccd4e024a503d806a0745a70eca7a.zip
fill out cases with new thread states
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/uthread/uthread_sig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_sig.c b/lib/libpthread/uthread/uthread_sig.c
index 465d5d06e99..1cdbc362aa6 100644
--- a/lib/libpthread/uthread/uthread_sig.c
+++ b/lib/libpthread/uthread/uthread_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_sig.c,v 1.6 1999/11/25 07:01:44 d Exp $ */
+/* $OpenBSD: uthread_sig.c,v 1.7 2000/01/06 07:20:52 d Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -288,10 +288,11 @@ _thread_signal(pthread_t pthread, int sig)
case PS_JOIN:
case PS_MUTEX_WAIT:
case PS_RUNNING:
- case PS_STATE_MAX:
case PS_SIGTHREAD:
case PS_SIGWAIT:
case PS_SUSPENDED:
+ case PS_SPINBLOCK:
+ case PS_DEADLOCK:
/* Nothing to do here. */
break;