|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Functions | |
| void * | thd_0 (void *v) |
| void * | thd_1 (void *v) |
| void * | thd_2 (void *v) |
| void * | thd_3 (void *v) |
| int | main (int argc, char **argv) |
Variables | |
| semaphore_t | sem |
| mutex_t | mut = MUTEX_INITIALIZER |
| condvar_t | cv = COND_INITIALIZER |
| volatile int | cv_ready = 0 |
| volatile int | cv_cnt = 0 |
| volatile int | cv_quit = 0 |
| int main | ( | int | argc, |
| char ** | argv ) |
References cond_broadcast(), cond_signal(), CONT_A, CONT_B, cont_btn_callback(), CONT_START, CONT_X, CONT_Y, cv, cv_quit, cv_ready, mut, mutex_lock(), mutex_unlock(), NULL, printf, sem, sem_init(), thd_0(), thd_1(), thd_2(), thd_3(), thd_create(), thd_join(), thd_pslist(), thd_pslist_queue(), thd_sleep(), timer_spin_sleep(), vram_s, x, and y.
| void * thd_0 | ( | void * | v | ) |
| void * thd_1 | ( | void * | v | ) |
References NULL, printf, sem, sem_signal(), thd_pslist(), and thd_sleep().
Referenced by main().
| void * thd_2 | ( | void * | v | ) |
References NULL, printf, sem, sem_wait(), sem_wait_timed(), thd_pslist(), and thd_sleep().
Referenced by main().
| void * thd_3 | ( | void * | v | ) |
References cond_wait(), cv, cv_cnt, cv_quit, cv_ready, mut, mutex_lock(), mutex_unlock(), NULL, and printf.
Referenced by main().
| volatile int cv_cnt = 0 |
Referenced by thd_3().
| mutex_t mut = MUTEX_INITIALIZER |
| semaphore_t sem |