Home
last modified time | relevance | path

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

/system/extras/memory_replay/tests/
DThreadTest.cpp54 pthread_t thread_id; in TEST() local
55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0); in TEST()
62 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0); in TEST()
82 pthread_t thread_id; in TEST() local
83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0); in TEST()
90 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0); in TEST()
/system/bt/btif/src/
Dbtif_sock_thread.c93 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, &param); in create_thread()
130 pthread_setschedparam(*thread_id, policy, &param); 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()
[all …]
Dbtif_hl.c4909 pthread_t thread_id = -1; in create_thread() local
4910 if ( pthread_create(&thread_id, &thread_attr, start_routine, arg)!=0 ) in create_thread()
4916 return thread_id; in create_thread()
/system/core/base/
Dlogging.cpp72 typedef uint32_t thread_id; typedef
74 typedef pid_t thread_id; typedef
77 static thread_id GetThreadId() { in GetThreadId()
/system/bt/btif/co/
Dbta_hh_co.c178 pthread_t thread_id = -1; in create_thread() local
179 if ( pthread_create(&thread_id, &thread_attr, start_routine, arg)!=0 ) in create_thread()
185 return thread_id; in create_thread()