29 Jun
2011
29 Jun
'11
1:49 a.m.
See attached for a small update to the portability patch I sent out awhile back. This fixes a crash on Linux caused by a glibc bug in the pause() function. See below for the diff between v1 and v2 of the patch. Regards, - Mark @@ -115,8 +119,9 @@ sigfillset(&mask); pthread_sigmask(SIG_SETMASK, &mask, NULL); - pause(); - DISPATCH_CRASH("pause() returned"); + for (;;) { + pause(); + } #else /* !defined(__linux__) */ pthread_exit(NULL); DISPATCH_CRASH("pthread_exit() returned");