Home
last modified time | relevance | path

Searched refs:wait_obj (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_osd.c197 IN DAPL_OS_WAIT_OBJECT *wait_obj) in dapl_os_wait_object_init() argument
199 wait_obj->signaled = DAT_FALSE; in dapl_os_wait_object_init()
200 if (0 != pthread_cond_init(&wait_obj->cv, NULL)) { in dapl_os_wait_object_init()
205 (void) pthread_mutex_init(&wait_obj->lock, NULL); in dapl_os_wait_object_init()
227 IN DAPL_OS_WAIT_OBJECT *wait_obj, in dapl_os_wait_object_wait() argument
256 (void) pthread_mutex_lock(&wait_obj->lock); in dapl_os_wait_object_wait()
257 while (wait_obj->signaled == DAT_FALSE && pthread_status == 0) { in dapl_os_wait_object_wait()
259 &wait_obj->cv, &wait_obj->lock, &future); in dapl_os_wait_object_wait()
268 wait_obj->signaled = DAT_FALSE; in dapl_os_wait_object_wait()
270 (void) pthread_mutex_unlock(&wait_obj->lock); in dapl_os_wait_object_wait()
[all …]
/titanic_50/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_osd.h223 IN DAPL_OS_WAIT_OBJECT *wait_obj);
227 IN DAPL_OS_WAIT_OBJECT *wait_obj,
232 IN DAPL_OS_WAIT_OBJECT *wait_obj);
236 IN DAPL_OS_WAIT_OBJECT *wait_obj);