Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
- Subject: Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
- From: Terry Lambert <email@hidden>
- Date: Sun, 25 Nov 2007 04:49:54 -0800
Thanks, Per. Looks like we will need to fix something. I'll see if I
can route the radar three doors down the hall from me faster.
-- Terry
On Nov 25, 2007, at 4:42 AM, Per Mildner <email@hidden> wrote:
On Nov 25, 2007, at 2:52 AM, Terry Lambert wrote:
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.
Regards,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden