Searched refs:MAX_THREADS (Results 1 – 2 of 2) sorted by relevance
28 #define MAX_THREADS 8 macro58 static volatile struct lthread lthreads[MAX_THREADS];173 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) in sched_init()206 for (i = current_tid + 1; i < MAX_THREADS; i++) { in thread_yield()224 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) { in thread_create()240 if (id <= MASTER_THREAD || id > MAX_THREADS) in thread_delete()270 if (id <= MASTER_THREAD || id > MAX_THREADS) { in thread_start()294 if (id <= MASTER_THREAD || id >= MAX_THREADS)311 if (!(*ret == -1 || *ret > MASTER_THREAD || *ret < MAX_THREADS)) { in thread_join()321 for (i = MASTER_THREAD + 1; i < MAX_THREADS; i++) { in thread_join()
37 changing "#define MAX_THREADS" depending on the available memory.