• 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: Open Transport on OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Open Transport on OS X (From: "Duane Murphy" <email@hidden>)
 >Re: Open Transport on OS X (From: Quinn <email@hidden>)

  • Prev by Date: CFHTTPMessageAddAuthentication query
  • Next by Date: Re: Read stream and proxies
  • Previous by thread: Re: Open Transport on OS X
  • Next by thread: Cannot connect to 127.0.0.1
  • Index(es):
    • Date
    • Thread