Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HUnlock always after HLock?



At 9:00 AM -0800 11/1/03, Steve Zellers wrote:
But don't bother using HLock/HUnlock or HSetState on Mac OS X. (Unless you know that someone is going to explicitly look at those bits.) The handle will not move or be purged on OS X.

Is this a recent-ish (Panther) change? I had entered rdar://2852119 because some system-level function was locking a PaletteHandle out from underneath me, which caused subsequent resize attempts to fail. That bug was marked as fixed in Panther, but of course I didn't get any specifics about the nature of the change.

Is the locked state of a handle now *totally* ignored on Mac OS X, or were you only referring to the specific situation of disposing a locked handle?

thx!

Jonathan Brecher
CambridgeSoft Corporation
email@hidden
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: HUnlock always after HLock? (From: Steve Zellers <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.