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

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.


References: 
 >Re: OS notifier preemption guarantees (From: Doug Hill <email@hidden>)

  • Prev by Date: Re: quantity in send queue ?
  • Next by Date: OS notifier preemption guarantees
  • Previous by thread: Re: OS notifier preemption guarantees
  • Next by thread: Re: OS notifier preemption guarantees
  • Index(es):
    • Date
    • Thread