• 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
OS notifier preemption guarantees
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OS notifier preemption guarantees


  • Subject: OS notifier preemption guarantees
  • From: Miro Jurisic <email@hidden>
  • Date: Wed, 28 Apr 2004 22:49:56 -0400

On further discussion off-list, a suggestion was made to use OTEnterNotifer and OTLeaveNotifier. This is a correct solution only if the following is true:

If a thread calls OTEnterNotifier for an endpoint, and the notifier for that endpoint is currently executing in a secondary thread, OTEnterNotifier will not return before the notifier returns.

(In other words, I need to know not only that a notifier will not fire while I am inside the Enter/Leave block, but that the Enter/Leave block will not preempt a notifier that fired before the Enter/Leave block.)

Is this true?

meeroh
--

<http://web.meeroh.org/> | KB1FMP

"And when I have understanding of computers, I shall be
the supreme being!" -- Evil, "Time Bandits"
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: OS notifier preemption guarantees
      • From: Quinn <email@hidden>
  • Prev by Date: Re: OS notifier preemption guarantees
  • Next by Date: Receiving from 255.255.255.255...
  • Previous by thread: Re: OS notifier preemption guarantees
  • Next by thread: Re: OS notifier preemption guarantees
  • Index(es):
    • Date
    • Thread