FROM : Michael Vannorsdel
DATE : Thu May 15 10:09:33 2008
You might try using pthreads, they're easy to use but not NSThread
easy. They have several more options and make the base NSThread is
built upon. There's a join option with pthreads where one can wait
for another to finish which might be what you're looking for. Look at
pthread_join.
On May 15, 2008, at 12:02 AM, Alex Esplin wrote:
> Doh. I knew I had to be missing something trivial. When you start a
> thread with [threadname start] how do you wait for it? I can't seem
> to find anything on that...
DATE : Thu May 15 10:09:33 2008
You might try using pthreads, they're easy to use but not NSThread
easy. They have several more options and make the base NSThread is
built upon. There's a join option with pthreads where one can wait
for another to finish which might be what you're looking for. Look at
pthread_join.
On May 15, 2008, at 12:02 AM, Alex Esplin wrote:
> Doh. I knew I had to be missing something trivial. When you start a
> thread with [threadname start] how do you wait for it? I can't seem
> to find anything on that...
| Related mails | Author | Date |
|---|---|---|
| Alex Esplin | May 15, 07:15 | |
| Bill Bumgarner | May 15, 07:25 | |
| Ken Thomases | May 15, 07:26 | |
| Alex Esplin | May 15, 08:02 | |
| Ken Thomases | May 15, 10:03 | |
| Michael Vannorsdel | May 15, 10:09 |






Cocoa mail archive

