On Dec 13, 2005, at 9:21 AM, Brian Bergstrand wrote:
On Dec 13, 2005, at 12:23 AM, Ryan McGann wrote:
The new Tiger locking KPIs seem to lack a trylock variant for any
of the lock types (mutex, spinlock, read/write).
A mutex try variant is available in the Unsupported KPI. It's
probably safe to use this for 8.0, but may break in the next major
release.
All of the try variants are in the kernel proper, so one has to
wonder why they are not exported in the KPI.
Well they also have a way to promote read-write locks to exclusive
from shared exported in the kernel, but not in the KPIs
(lck_rw_exclusive_to_shared and lck_rw_shared_to_exclusive). That bug
was closed :-( It would be really nice to have those KPIs back in the
supported list, if anybody is listening...