Re: OS notifier preemption guarantees
Re: OS notifier preemption guarantees
- Subject: Re: OS notifier preemption guarantees
- From: Miro Jurisic <email@hidden>
- Date: Wed, 28 Apr 2004 20:59:39 -0400
OK, I have been suitably educated on the preemption behavior by
several people (all of whom I thank), but nobody has yet filled in
the missing piece:
notifier:
acquire lock
if provider hasn't been closed then
do stuff
release lock
I don't know how to write the "if provider hasn't been closed"part.
(Just the lock is insufficient because there is a window of
opportunity for the stream object to be destroyed before the lock is
acquired in the notifier.)
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.