38 static int ThreadMacrosTest01Mutex(
void)
48 return (r == 0)? 1 : 0;
66 static int ThreadMacrosTest02Spinlocks(
void)
80 return (r == 0)? 1 : 0;
86 static int ThreadMacrosTest03RWLocks(
void)
94 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__>=101000
102 return (r == 0)? 1 : 0;
108 static int ThreadMacrosTest04RWLocks(
void)
118 return (r == 0)? 1 : 0;
121 #if 0 // broken on OSX
125 static int ThreadMacrosTest05RWLocks(
void)
135 return (r == 0)? 1 : 0;
147 UtRegisterTest(
"ThreadMacrosTest01Mutex", ThreadMacrosTest01Mutex);
148 UtRegisterTest(
"ThreadMacrosTest02Spinlocks", ThreadMacrosTest02Spinlocks);
149 UtRegisterTest(
"ThreadMacrosTest03RWLocks", ThreadMacrosTest03RWLocks);
150 UtRegisterTest(
"ThreadMacrosTest04RWLocks", ThreadMacrosTest04RWLocks);