Home
last modified time | relevance | path

Searched refs:lthreads (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/examples/standalone/
Dsched.c56 static volatile struct lthread lthreads[MAX_THREADS]; variable
172 lthreads[i].state = STATE_EMPTY; in sched_init()
175 lthreads[current_tid].state = STATE_RUNNABLE; in sched_init()
177 (unsigned)lthreads[current_tid].context); in sched_init()
188 if(lthreads[new].state == STATE_RUNNABLE) { \ in thread_yield()
191 (unsigned)lthreads[current_tid].context); \ in thread_yield()
192 if(setjmp(lthreads[current_tid].context) == 0) { \ in thread_yield()
196 longjmp(lthreads[new].context, 1); \ in thread_yield()
223 if (lthreads[i].state == STATE_EMPTY) { in thread_create()
224 lthreads[i].state = STATE_STOPPED; in thread_create()
[all …]
/external/ltp/testcases/network/nfsv4/locks/
Dlocktests.h130 pthread_t *lthreads; member
Dlocktests.c217 dp.lthreads = malloc(sizeof(pthread_t) * clnt); in initialize()
242 free(dp.lthreads); in clean()
/external/python/cpython2/
Dconfigure.ac2678 LIBS="$LIBS -lthreads"