Home
last modified time | relevance | path

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

/AliOS-Things-master/components/websocket/src/
A Drws_thread.c46 static _rws_threads_joiner * _threads_joiner = NULL; variable
48 rws_thread t = _threads_joiner->thread; in rws_threads_joiner_clean()
54 _threads_joiner->thread = NULL; in rws_threads_joiner_clean()
62 rws_mutex_lock(_threads_joiner->mutex); in rws_threads_joiner_add()
64 _threads_joiner->thread = thread; in rws_threads_joiner_add()
65 rws_mutex_unlock(_threads_joiner->mutex); in rws_threads_joiner_add()
69 if (_threads_joiner) { in rws_threads_joiner_create_ifneed()
72 _threads_joiner = (_rws_threads_joiner *)rws_malloc_zero(sizeof(_rws_threads_joiner)); in rws_threads_joiner_create_ifneed()
73 _threads_joiner->mutex = rws_mutex_create_recursive(); in rws_threads_joiner_create_ifneed()

Completed in 3 milliseconds