Re: Using CFFTPStream outside of the default run loop
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
|
_______________________________________________
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