Searched refs:thread_attr (Results 1 – 4 of 4) sorted by relevance
/system/bt/btif/co/ |
D | bta_hh_co.cc | 169 pthread_attr_t thread_attr; in create_thread() local 171 pthread_attr_init(&thread_attr); in create_thread() 172 pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in create_thread() 174 if (pthread_create(&thread_id, &thread_attr, start_routine, arg) != 0) { in create_thread()
|
/system/bt/osi/src/ |
D | alarm.cc | 670 pthread_attr_t thread_attr; in timer_create_internal() local 671 pthread_attr_init(&thread_attr); in timer_create_internal() 672 pthread_attr_setschedpolicy(&thread_attr, SCHED_FIFO); in timer_create_internal() 675 pthread_attr_setschedparam(&thread_attr, ¶m); in timer_create_internal() 680 sigevent.sigev_notify_attributes = &thread_attr; in timer_create_internal()
|
/system/bt/btif/src/ |
D | btif_sock_thread.cc | 107 pthread_attr_t thread_attr; in create_thread() local 108 pthread_attr_init(&thread_attr); in create_thread() 109 pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in create_thread() 115 ret = pthread_create(thread_id, &thread_attr, start_routine, arg); in create_thread()
|
D | btif_hl.cc | 4598 pthread_attr_t thread_attr; in create_thread() local 4600 pthread_attr_init(&thread_attr); in create_thread() 4601 pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_JOINABLE); in create_thread() 4603 if (pthread_create(&thread_id, &thread_attr, start_routine, arg) != 0) { in create_thread()
|