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