• 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: Calling MPNotifyQueue from OT notifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling MPNotifyQueue from OT notifier


  • Subject: Re: Calling MPNotifyQueue from OT notifier
  • From: Quinn <email@hidden>
  • Date: Mon, 15 Mar 2004 10:05:29 +0000

At 16:34 +0300 13/3/04, Igor garnov wrote:
Is it safe to call MPNotifyQueue from my OT notifier callback?

Yes. MPNotifyQueue is documented as interrupt safe.

<http://developer.apple.com/technotes/tn/tn1104.html>

This is a fundamental part of OTMP, so I know from personal experience that it works.

<http://developer.apple.com/samplecode/Sample_Code/Archive/Networking/OTMP.htm>

Are some caveats I should consider

As mentioned in the technote, you must reserve space on the queue using MPSetQueueReserve if you intend to notify the queue at interrupt time.

I am going to use it on both Mac OS 9 and X.

It should work just fine on both platforms.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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: 
 >Calling MPNotifyQueue from OT notifier (From: Igor garnov <email@hidden>)

  • Prev by Date: Re: TCP/IP connection via Ethernet
  • Next by Date: Configuring AirPort with a password
  • Previous by thread: Calling MPNotifyQueue from OT notifier
  • Next by thread: Configuring AirPort with a password
  • Index(es):
    • Date
    • Thread