Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: pthread questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread questions



On vendredi, mars 21, 2003, at 19:02 US/Eastern, Chaz McGarvey wrote:

I haven't used pthreads very much and there are a couple of things I haven't found in the manual pages. Is there a (nice) way to pause and resume a thread from a different thread?

using condition variables, this can be accomplished with pthread_cond_wait / pthread_cond_signal / pthread_cond_broadcast (all of which have man pages)

as a primer, you might wish to google "pthread tutorial", additionally the o'reilly book is a decent reference as well.

cheers,
jean-pierre
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >pthread questions (From: Chaz McGarvey <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.