Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OTEnterNotifier



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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.