Lines Matching refs:cothread_t
53 typedef struct cothread *cothread_t; typedef
55 cothread_t cothread_create(void (*thr_func)(cothread_t cotd),
56 void (*thr_intr)(cothread_t cotd),
58 void cothread_delete(cothread_t *cotdp);
59 void cothread_intr(cothread_t cotd);
60 void cothread_signal(cothread_t cotd);
61 void cothread_wait(cothread_t cotd);
62 void cothread_lock(cothread_t cotd, int is_cotd);
63 void cothread_unlock(cothread_t cotd, int is_cotd);
65 void cothread_sleep(cothread_t cotd, struct timespec *ts);
66 void cothread_wakeup(cothread_t cotd, struct timespec *ts);