Re: OTNotifier in shared libraries
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.