Lines Matching refs:thread_id
93 volatile pthread_t thread_id; member
108 pthread_t * thread_id) in create_thread() argument
118 if ((ret = pthread_create(thread_id, &thread_attr, start_routine, arg))!=0 ) in create_thread()
125 pthread_getschedparam(*thread_id, &policy, ¶m); in create_thread()
130 pthread_setschedparam(*thread_id, policy, ¶m); in create_thread()
171 ts[h].thread_id = -1; in btsock_thread_init()
198 ts[h].thread_id = thread; in btsock_thread_create()
199 APPL_TRACE_DEBUG("h:%d, thread id:%d", h, ts[h].thread_id); in btsock_thread_create()
255 if(ts[h].thread_id == pthread_self()) in btsock_thread_add_fd()
368 pthread_join(ts[h].thread_id, 0); in btsock_thread_exit()
380 ts[h].thread_id = -1; in init_poll()
599 ts[h].thread_id = -1; in sock_poll_thread()