macOS 10.12, broken PTHREAD_CANCEL_DISABLE and UNIX certification

2016-11-04 Thread Per Mildner
PTHREAD_CANCEL_DISABLE has never worked reliably on OS X. This is true for all versions of OS X from 10.8 to 10.12, despite the fact that most of these have received Unix certification. This bug has been known by Apple at least since I reported the issue for OS X 10.8, in 2011

Re: SA_RESETHAND questions

2016-11-04 Thread Geoff Clare
FELLIN, JEFF K (JEFF) wrote, on 04 Nov 2016: > > I'm trying to verify my understanding of the signal specifications. > > On the signal.h man page SA_RESETHAND is defined as: > Causes signal dispositions to be set to SIG_DFL on entry to signal handlers > On the sigaction()

SA_RESETHAND questions

2016-11-04 Thread FELLIN, JEFF K (JEFF)
I'm trying to verify my understanding of the signal specifications. On the signal.h man page SA_RESETHAND is defined as: Causes signal dispositions to be set to SIG_DFL on entry to signal handlers On the sigaction() man page action of SA_RESETHAND is defined: If set, the disposition of the signal