Changes to support building on solaris, irix, and darwin. Also

removed test for working fork (AC_FORK).
This commit is contained in:
crs
2002-12-25 10:35:59 +00:00
parent de1fadc027
commit 9567a970a8
9 changed files with 3297 additions and 307 deletions

View File

@@ -548,8 +548,12 @@ CThreadRep::threadSignalHandler(void* vrep)
// we exit the loop via thread cancellation in sigwait()
for (;;) {
// wait
#if HAVE_POSIX_SIGWAIT
int signal;
sigwait(&sigset, &signal);
#else
sigwait(&sigset);
#endif
// if we get here then the signal was raised. cancel the thread.
mainThreadRep->cancel();