• 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: OTNotifier in shared libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OTNotifier in shared libraries


  • Subject: Re: OTNotifier in shared libraries
  • From: Quinn <email@hidden>
  • Date: Mon, 27 Jan 2003 10:20:53 +0000

At 12:07 -0800 24/1/03, Duane Murphy wrote:
I cant speak of the implementation, but I can from experience. OT does
everything at what is essentially WNE time. There is no preemption. If
you dont give the system time via WNE then nothing much actually happens.

Sorry, but that's just plain wrong. On traditional Mac OS, OT runs virtually everything at deferred task time. OT needs system task time (ie an app to call WNE) in the following circumstances.

o To load a module that hasn't already been loaded. For example, if you open a TCP connection while the TCP/IP stack is unloaded, OT will block the open until system task time.

o To grow memory pools, if they're exhausted. See TN 1128 for details.

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

o To do other obscure bookkeeping stuff.

OT does not need system task time to open endpoints (assuming their component modules are already loaded), to transfer data, or to close endpoints.

For an example of this, start a large download in Interarchy and hold the mouse button down in the menu bar. Interarchy will continue downloading the file while WNE isn't being called.

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: 
 >OTNotifier in shared libraries (From: Roy Lovejoy <email@hidden>)
 >Re: OTNotifier in shared libraries (From: "Duane Murphy" <email@hidden>)

  • Prev by Date: Re: Liberating locked up ports
  • Next by Date: Re: OTNotifier in shared libraries
  • Previous by thread: Re: OTNotifier in shared libraries
  • Next by thread: Re: OTNotifier in shared libraries
  • Index(es):
    • Date
    • Thread