39 static int ThreadMacrosTest01Mutex(
void)
49 return (r == 0)? 1 : 0;
67 static int ThreadMacrosTest02Spinlocks(
void)
81 return (r == 0)? 1 : 0;
87 static int ThreadMacrosTest03RWLocks(
void)
95 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__>=101000
103 return (r == 0)? 1 : 0;
109 static int ThreadMacrosTest04RWLocks(
void)
119 return (r == 0)? 1 : 0;
122 #if 0 // broken on OSX
126 static int ThreadMacrosTest05RWLocks(
void)
136 return (r == 0)? 1 : 0;
148 UtRegisterTest(
"ThreadMacrosTest01Mutex", ThreadMacrosTest01Mutex);
149 UtRegisterTest(
"ThreadMacrosTest02Spinlocks", ThreadMacrosTest02Spinlocks);
150 UtRegisterTest(
"ThreadMacrosTest03RWLocks", ThreadMacrosTest03RWLocks);
151 UtRegisterTest(
"ThreadMacrosTest04RWLocks", ThreadMacrosTest04RWLocks);