Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Nov 25, 2007, at 2:52 AM, Terry Lambert wrote: ... Regards, _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... As far as the current subject is concerned, the default cancel type is PTHREAD_CANCEL_DEFERRED. It would be handy if Per were to be a little more specific about his execution environment, given that if stdin is not the slave side of a pty, he is potentially in an uninterruptible state blocked in a buggy device driver, rather than being interruptible in the tty code. It would also be handy if he set the type to async and tried it again, so that the person who will be catching that radar doesn't have to chase all those things down. I have updated the bug report with code that reads from a pipe (created with pipe()) and tried both with deferred and asynchronous cancellation type. The behavior is identical, the process hangs forever. This email sent to site_archiver@lists.apple.com
participants (1)
-
Per Mildner