• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
      • From: Per Mildner <email@hidden>
References: 
 >Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard? (From: Terry Lambert <email@hidden>)
 >Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard? (From: Per Mildner <email@hidden>)

  • Prev by Date: Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
  • Next by Date: Re: Blocking file access within KAUTH
  • Previous by thread: Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
  • Next by thread: Re: pthread_cancel and cancelation points still broken in Mac OS X 10.5 Leopard?
  • Index(es):
    • Date
    • Thread