Home
last modified time | relevance | path

Searched refs:state (Results 1 – 2 of 2) sorted by relevance

/examples/standalone/
A Dsched.c47 int state; member
168 lthreads[i].state = STATE_EMPTY; in sched_init()
219 if (lthreads[i].state == STATE_EMPTY) { in thread_create()
220 lthreads[i].state = STATE_STOPPED; in thread_create()
240 lthreads[id].state = STATE_EMPTY; in thread_delete()
268 if (lthreads[id].state != STATE_STOPPED) in thread_start()
272 lthreads[id].state = STATE_RUNNABLE; in thread_start()
294 lthreads[id].state = STATE_STOPPED;
318 lthreads[i].state = STATE_EMPTY; in thread_join()
326 j, i, lthreads[i].state); in thread_join()
[all …]
/examples/api/
A Dglue.c255 if (devices[handle].state != DEV_STA_OPEN) in dev_valid()

Completed in 18 milliseconds