Please, read the link provided in the previous post. It describe in details how and when to setup and run a run loop. Using a runloop without understanding what it does is not a good thing, especially if you want to do multi-threading programming.



Le 13 nov. 08 à 09:48, Mahaboob a écrit :

I'm really sorry. I forgot to attach the code. Now I'm attaching it.


On 11/13/08 12:14 PM, "Stephen J. Butler" <[EMAIL PROTECTED]> wrote:

On Thu, Nov 13, 2008 at 12:18 AM, Mahaboob <[EMAIL PROTECTED]> wrote:
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 ?

Your attachment didn't come through. Anyway, here's how to use
runloops in your new thread:

<http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/RunL
oopManagement/chapter_6_section_1.html#//apple_ref/doc/uid/ 10000057i-CH16-SW1>
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/mahaboob %40newtok.com

This email sent to [EMAIL PROTECTED]

<Send>_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to