Lines Matching refs:thread
37 #include "osi/include/thread.h"
49 static thread_t* thread;
60 CHECK(thread == NULL);
84 thread = thread_new("btif_sock");
85 if (!thread) {
86 LOG_ERROR(LOG_TAG, "%s error creating new thread.", __func__);
91 status = btsock_sco_init(thread);
102 thread_free(thread);
103 thread = NULL;
118 thread_free(thread);
119 thread = NULL;