Re: Could anyone provide multithread sample code?
Re: Could anyone provide multithread sample code?
- Subject: Re: Could anyone provide multithread sample code?
- From: James Bucanek <email@hidden>
- Date: Mon, 22 May 2006 08:13:39 -0700
Bus Mini wrote on Monday, May 22, 2006:
>I am sorry to trouble you. Recently, I have learn some to implement
>multithread in my application which makes me really frustrated. I think I
>shuold need some sample code in order to get a better understanding on this
>topic.Could anyone help me?
Start with the document "Multithreading Programming Topics":
<http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/index.html?http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/Multithreading.html>
It will explain everything to need to know to implement multithreading.
In it you will find a document named "Creating Threads in Cocoa" which shows you exactly the code you need to create a thread in Cocoa.
To see how threads are used in other projects, search the example code for "NSThread".
--
James Bucanek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden