Re: Thread programming
Re: Thread programming
- Subject: Re: Thread programming
- From: Mahaboob <email@hidden>
- Date: Thu, 13 Nov 2008 11:48:30 +0530
- Thread-topic: Thread programming
Hi,
I'm very new to thread programming. I tried with using NSRunLoop, but it
can't succeeded. Here I'm attaching the code file. In the thread where and
how I need to use runloop ?
Thanks in advance.
On 11/13/08 10:15 AM, "Stephen J. Butler" <email@hidden> wrote:
> On Wed, Nov 12, 2008 at 10:38 PM, Mahaboob <email@hidden> wrote:
>> When I'm calling the thread, it invokes but not going to
>> connectionEstablished and other methods.
>> Where I got wrong? How can I solve this?
>
> You need to run th runloop (NSRunLoop) in your new thread.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden