• 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: What's possible within a Notifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's possible within a Notifier


  • Subject: Re: What's possible within a Notifier
  • From: Quinn <email@hidden>
  • Date: Fri, 14 Feb 2003 18:07:32 +0000

At 17:40 +0000 14/2/03, Mark Thomas wrote:
I was wondering, if there was documentation of what is possible to do
within a Notifier (OT SDK wise), as I would like to get a T_DATA
notification and then do either OTSndUData or OTSnd with another endpoint.
There doesn't seem to be a list which shows these.

1. Launch Safari.

2. In the Google box, enter "what functions are safe to call within an ot notifier".

3. The first hit is a reference to DTS Technote 1104 "Interrupt-Safe Routines".

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

4. Press Command-F, type "open transport", and then press Return.

5. Follow the link to Appendix C of IM:NWOT.

From what I can gather from the docs, that you must use the OTMemAlloc and
OTMemFree calls for any memory stuff, as basically you are running at
interrupt time on 9.x. So the usually interrupt safe coding is required, and
to be quick in what you do. (X your are a separate thread from what I'm seen
from the debugger.)

As above with the query string "open transport interrupt safe memory allocation". The first link is to DTS Technote 1128 "Understanding Open Transport Memory Management", which explains that OT offers a general purpose interrupt-safe memory manager.

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

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: 
 >What's possible within a Notifier (From: Mark Thomas <email@hidden>)

  • Prev by Date: What's possible within a Notifier
  • Next by Date: Re: What's possible within a Notifier
  • Previous by thread: What's possible within a Notifier
  • Next by thread: Re: What's possible within a Notifier
  • Index(es):
    • Date
    • Thread