OSSpinLockInit in OSX
Nathan Sims <[email protected]> Fri, 6 May 2011 10:36:24 -0700
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
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?