• 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: Using CFFTPStream outside of the default run loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using CFFTPStream outside of the default run loop


  • Subject: Re: Using CFFTPStream outside of the default run loop
  • From: "R. Tyler Ballance" <email@hidden>
  • Date: Fri, 16 Feb 2007 10:06:17 -0600


On Feb 15, 2007, at 8:12 AM, Frederick Cheung wrote:


On 15 Feb 2007, at 13:36, R. Tyler Ballance wrote:


CFRunLoopGetCurrent() will report the thread's or the modal panel's runloop correct? Are there any caveats I should know about for trying to schedule events on a "special" run loop? I should just be able to schedule those CFWriteStream events on my modal panel and then let CFRunLoopRun() correct?

I'm not sure of the answer, but having got the NSRunloop for your model panel you can call getCFRunLoop to see if it's the same as CFRunLoopGetCurrent.

I got the code working succesfully, I think previously I just wasn't making the run loop run at the right time :)


Cheers

R. Tyler Ballance: Lead Mac Developer at bleep. software
contact: email@hidden | jabber: email@hidden

 _______________________________________________
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: 
 >Using CFFTPStream outside of the default run loop (From: "R. Tyler Ballance" <email@hidden>)
 >Re: Using CFFTPStream outside of the default run loop (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: Writing a virtual network interface
  • Next by Date: Re: Writing a virtual network interface
  • Previous by thread: Re: Using CFFTPStream outside of the default run loop
  • Next by thread: Would there be an easier way to get the name of the current Network Location?
  • Index(es):
    • Date
    • Thread