Re: Open Transport on OS X
Re: Open Transport on OS X
- Subject: Re: Open Transport on OS X
- From: "Duane Murphy" <email@hidden>
- Date: Wed, 10 May 2006 05:58:09 -0700
--- At Wed, 10 May 2006 10:15:01 +0100, Quinn wrote:
>At 10:05 -0700 9/5/06, Duane Murphy wrote:
>>What can I call to give OpenTransport time to do its work on OS X but
>>not require a connection to the Window Server so that I can work as a
>>service. Is CFRunLoopRun or CFRunLoopRunInMode sufficient?
>
>AFAIK the OT libraries on Mac OS X don't require 'system task' time.
Good to hear.
>At 10:05 -0700 9/5/06, Duane Murphy wrote:
>>Historically, OpenTransport needed WaitNextEvent to be called in
>>order to give it time to do it's work.
>
>Well, that's overstating things a little. On traditional Mac OS, OT
>needs system task time to do stuff that can't be done at interrupt
>time (like load modules, grow memory pools, and so on). The actual
>networking is all done preemptively.
I guess I didn't comment my code enough. The code is an idle loop that
allows the user to cancel processing using command-period, so
WaitNextEvent was used to provide that along with system task time.
Thank you for the clarification.
...Duane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden