Searched refs:MAX_THREAD (Results 1 – 1 of 1) sorted by relevance
58 #define MAX_THREAD 8 macro89 static thread_slot_t ts[MAX_THREAD];129 for (i = MAX_THREAD - 1; i >= 0; i--) { in alloc_thread_slot()139 if (0 <= h && h < MAX_THREAD) { in free_thread_slot()150 for (h = 0; h < MAX_THREAD; h++) { in btsock_thread_init()209 if (h < 0 || h >= MAX_THREAD) { in btsock_thread_add_fd()236 if (h < 0 || h >= MAX_THREAD) { in btsock_thread_wakeup()252 if (h < 0 || h >= MAX_THREAD) { in btsock_thread_exit()