On Sun, Sep 14, 2008 at 4:12 PM, John Michael Zorko <[EMAIL PROTECTED]> wrote:
>
> Hello, all ...
>
> I'm trying to launch a thread to connect to a server and stream some data.
> What i'm seeing is that, while my thread launches, the NSURLConnection
> callbacks are never called, and it's probably
On Sep 14, 2008, at 6:36 PM, John Michael Zorko wrote:
sleep() is just blocking the thread, so no event is processed. Use
run loops instead.
Try to replace sleep() with [[NSRunLoop currentRunLoop]
runMode:beforeDate:]
You mean the NSURLConnection callbacks are not callbacks in the C / C
On Sep 14, 2008, at 19:36 , John Michael Zorko wrote:
Julien et al,
sleep() is just blocking the thread, so no event is processed. Use
run loops instead.
Try to replace sleep() with [[NSRunLoop currentRunLoop]
runMode:beforeDate:]
You mean the NSURLConnection callbacks are not callb
Julien et al,
sleep() is just blocking the thread, so no event is processed. Use
run loops instead.
Try to replace sleep() with [[NSRunLoop currentRunLoop]
runMode:beforeDate:]
You mean the NSURLConnection callbacks are not callbacks in the C / C+
+ sense i.e. they're more like dispat
sleep() is just blocking the thread, so no event is processed. Use run loops
instead.
Try to replace sleep() with [[NSRunLoop currentRunLoop] runMode:beforeDate:]
--
Julien
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admi