$NetBSD: patch-by,v 1.2 1999/12/28 05:08:12 wiz Exp $ --- pthreads/signal.c Tue Mar 12 20:33:17 1996 +++ pthreads/signal.c Thu Nov 4 13:17:26 1999 @@ -303,9 +303,17 @@ break; case NOTOK: /* Do the registered action, no threads were sleeping */ - sigdefault(sig); - break; - } + /* There is a timing window that gets + * here when no threads are on the + * sleep queue. This is a quick fix. + * The real problem is possibly related + * to heavy use of condition variables + * with time outs. + * (mevans) + *sigdefault(sig); + */ + break; + } break; case SIGCHLD: /* sigdelset((sigset_t *)&sig_to_process, SIGCHLD); */