Nathan Sims
2011-05-06 17:36:24 UTC
I'm porting some C code from Linux which uses OSSpinLock function calls.
OSX has the same functions (declated in OSAtomic.h):
• OSSpinLockLock()
• OSSpinLockTry()
• OSSpinLockUnlock()
However, OSX is missing this function:
• OSSpinLockInit()
Is there no initialization needed for an OSSpinLock?
OSX has the same functions (declated in OSAtomic.h):
• OSSpinLockLock()
• OSSpinLockTry()
• OSSpinLockUnlock()
However, OSX is missing this function:
• OSSpinLockInit()
Is there no initialization needed for an OSSpinLock?