Re: Thread critical sections
Re: Thread critical sections
- Subject: Re: Thread critical sections
- From: Brian Bergstrand <email@hidden>
- Date: Fri, 28 Oct 2005 18:28:49 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
pthread_mutex_lock();
// critical code here...
pthread_mutex_unlock();
On Oct 28, 2005, at 6:25 PM, Steve Checkoway wrote:
Is there a way to get behavior similar to Carbon's Thread Manager
functions ThreadBeginCritical() and ThreadEndCritical() using
pthreads or mach threads?
- Steve
Brian Bergstrand
<http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFDYrQ4edHYW7bHtqIRAsTQAKCB/axmUrh0rMJJ/3G/+yWaGoiF/QCgslgT
bKswLV8Q4perJruJA/5IQdU=
=zmH4
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden