static Thread_queue_Link *_Thread_queue_Link_find( Thread_queue_Links *links, Thread_queue_Queue *source ) { return _RBTree_Find_inline( &links->Links, source, _Thread_queue_Link_equal, _Thread_queue_Link_less, _Thread_queue_Link_map ); }
Thread_Control *_Thread_MP_Find_proxy ( Objects_Id the_id ) { Thread_Proxy_control *the_proxy; ISR_lock_Context lock_context; _Thread_MP_Proxies_acquire( &lock_context ); the_proxy = _RBTree_Find_inline( &_Thread_MP_Active_proxies, &the_id, _Thread_MP_Proxy_equal, _Thread_MP_Proxy_less, _Thread_MP_Proxy_map ); _Thread_MP_Proxies_release( &lock_context ); return (Thread_Control *) the_proxy; }