• 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
OTEnterNotifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OTEnterNotifier


  • Subject: OTEnterNotifier
  • From: "Tim Dorcey" <email@hidden>
  • Date: Sun, 19 Mar 2006 12:03:21 -0800
  • Importance: Normal

My understanding of OTEnterNotifier/OTLeaveNotifier is that it is
essentially a critical section that implicitly brackets code within an OT
Notifier callback, along with any code you explicitly bracket with it
elsewhere.  Is that correct?

So, a call to OTEnterNotifier will not return until:
a) any running OT Notifier callback has completed AND
b) any previous call to OTEnterNotifier has been bracketed with an
OTLeaveNotifier

I saw some code somewhere where the user had explicitly bracketed their
Notifier callback code with OTEnterNotifier/OTLeaveNotifier.  I take it this
is redundant, but causes no harm?

Thanks,

Tim




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • RE: OTEnterNotifier
      • From: "Tim Dorcey" <email@hidden>
  • Prev by Date: Re: Need a good BDS socket wrapper
  • Next by Date: RE: OTEnterNotifier
  • Previous by thread: Re: Need a good BDS socket wrapper
  • Next by thread: RE: OTEnterNotifier
  • Index(es):
    • Date
    • Thread