Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Argh, MPCriticalRegion buggy :-(
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Argh, MPCriticalRegion buggy :-(



On Thu, 6 Sep 2001 17:56:10 -0400, "Edward K. Chew" <email@hidden>
wrote:
> I always thought critical regions ARE semaphores under another
> name. It amazes me that you could mess up one without the
> other. ;-)

Actually almost everything is a semaphore under the covers. ;-)

The critical region code handles multiple entry points and recursion (if a
routine enters a critical region and then calls itself it won't block
against the critical region that it already owns).
--
Enjoy,
George Warner
Mixed Mode Magic Fragment Scientist
Apple Developer Technical Support (DTS)




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.