Home | History | Annotate | Download | only in bits

Lines Matching refs:__gthrw_

88 # define __gthrw_(name) __gthrw_ ## name
91 # define __gthrw_(name) name
95 #define __gthrw(name) __gthrw2(__gthrw_ ## name,name,name)
101 #define __gthrw3(name) __gthrw2(__gthrw_ ## name, __ ## name, name)
231 if (__gthrw_(pthread_once))
235 __gthrw_(pthread_mutex_lock) (&__gthread_active_mutex);
236 __gthrw_(pthread_once) (&__gthread_active_once, __gthread_trigger);
237 __gthrw_(pthread_mutex_unlock) (&__gthread_active_mutex);
256 = __extension__ (void *) &__gthrw_(
304 __gthrw_(pthread_mutex_lock) (&__gthread_active_mutex);
307 __gthrw_(pthread_attr_init) (&__a);
308 __gthrw_(pthread_attr_setdetachstate) (&__a, PTHREAD_CREATE_DETACHED);
309 __result = __gthrw_(pthread_create) (&__t, &__a, __gthread_start, NULL);
314 __gthrw_(pthread_attr_destroy) (&__a);
316 __gthrw_(pthread_mutex_unlock) (&__gthread_active_mutex);
374 if (__gthrw_(pthread_key_create) (&_objc_thread_storage, NULL) == 0)
379 if (__gthrw_(pthread_attr_init) (&_objc_thread_attribs) == 0
380 && __gthrw_(pthread_attr_setdetachstate) (&_objc_thread_attribs,
394 && __gthrw_(pthread_key_delete) (_objc_thread_storage) == 0
395 && __gthrw_(pthread_attr_destroy) (&_objc_thread_attribs) == 0)
413 if (!(__gthrw_(pthread_create) (&new_thread_handle, NULL, (void *) func, arg)))
431 pthread_t thread_id = __gthrw_(pthread_self) ();
436 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0)
438 if ((priority_max = __gthrw_(sched_get_priority_max) (policy)) == -1)
441 if ((priority_min = __gthrw_(sched_get_priority_min) (policy)) == -1)
455 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0)
475 if (__gthrw_(pthread_getschedparam) (__gthrw_(pthread_self) (), &policy, &params) == 0)
491 __gthrw_(sched_yield) ();
500 __gthrw_(pthread_exit) (&__objc_thread_exit_status);
511 return (objc_thread_t) __gthrw_(pthread_self) ();
521 return __gthrw_(pthread_setspecific) (_objc_thread_storage, value);
534 return __gthrw_(pthread_getspecific) (_objc_thread_storage);
549 if (__gthrw_(pthread_mutex_init) ((pthread_mutex_t *) mutex->backend, NULL))
570 * for __gthrw_(pthread_mutex_destroy) to work.
575 count = __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend);
581 if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
595 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0)
608 && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0)
621 && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend) != 0)
639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL))
656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend))
670 return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend,
681 return __gthrw_(pthread_cond_broadcast) ((pthread_cond_t *) condition->backend);
691 return __gthrw_(pthread_cond_signal) ((pthread_cond_t *) condition->backend);
702 return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
708 return __gthrw_(pthread_join) (__threadid, __value_ptr);
714 return __gthrw_(pthread_detach) (__threadid);
720 return __gthrw_(pthread_equal) (__t1, __t2);
726 return __gthrw_(pthread_self) ();
732 return __gthrw_(sched_yield) ();
739 return __gthrw_(pthread_once) (__once, __func);
747 return __gthrw_(pthread_key_create) (__key, __dtor);
753 return __gthrw_(pthread_key_delete) (__key);
759 return __gthrw_(pthread_getspecific) (__key);
765 return __gthrw_(pthread_setspecific) (__key, __ptr);
772 return __gthrw_(pthread_mutex_destroy) (__mutex);
781 return __gthrw_(pthread_mutex_lock) (__mutex);
790 return __gthrw_(pthread_mutex_trylock) (__mutex);
802 return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
813 return __gthrw_(pthread_mutex_unlock) (__mutex);
827 __r = __gthrw_(pthread_mutexattr_init) (&__attr);
829 __r = __gthrw_(pthread_mutexattr_settype) (&__attr,
832 __r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
834 __r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
873 return __gthrw_(pthread_cond_broadcast) (__cond);
879 return __gthrw_(pthread_cond_signal) (__cond);
885 return __gthrw_(pthread_cond_wait) (__cond, __mutex);
892 return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
913 return __gthrw_(pthread_cond_destroy) (__cond);