return -1;
/* If we already own the lock then increment depth */
- thread_id = objc_thread_id();
+ thread_id = __objc_thread_id();
if (mutex->owner == thread_id)
return ++mutex->depth;
return -1;
/* If we already own the lock then increment depth */
- thread_id = objc_thread_id();
+ thread_id = __objc_thread_id();
if (mutex->owner == thread_id)
return ++mutex->depth;
return -1;
/* If another thread owns the lock then abort */
- thread_id = objc_thread_id();
+ thread_id = __objc_thread_id();
if (mutex->owner != thread_id)
return -1;
return -1;
/* Make sure we are owner of mutex */
- thread_id = objc_thread_id();
+ thread_id = __objc_thread_id();
if (mutex->owner != thread_id)
return -1;