|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdio.h>#include <stdlib.h>#include <kos/thread.h>#include <kos/mutex.h>#include <dc/maple.h>#include <dc/maple/controller.h>Macros | |
| #define | UNUSED __attribute__((unused)) |
Functions | |
| void * | thd0 (void *param UNUSED) |
| void * | thd1 (void *param UNUSED) |
| void * | thd2 (void *param UNUSED) |
| int | main (int argc, char *argv[]) |
Variables | |
| mutex_t | l = RECURSIVE_MUTEX_INITIALIZER |
| #define UNUSED __attribute__((unused)) |
| int main | ( | int | argc, |
| char * | argv[] ) |
References CONT_A, CONT_B, cont_btn_callback(), CONT_START, CONT_X, CONT_Y, l, mutex_destroy(), mutex_is_locked(), NULL, printf, thd0(), thd1(), thd2(), thd_create(), and thd_join().
| void * thd0 | ( | void *param | UNUSED | ) |
References mutex_t::count, l, mutex_lock(), mutex_unlock(), NULL, printf, and thd_sleep().
Referenced by main().
| void * thd1 | ( | void *param | UNUSED | ) |
References l, mutex_lock(), mutex_unlock(), NULL, printf, and thd_pass().
Referenced by main().
| void * thd2 | ( | void *param | UNUSED | ) |
References l, mutex_lock(), mutex_unlock(), NULL, and printf.
Referenced by main().
Referenced by bitset(), draw_gl(), draw_gl10(), draw_gl2(), draw_gl3(), draw_gl4(), draw_gl5(), draw_gl6(), draw_gl7(), draw_gl8(), draw_gl9(), linkdata(), liqloc(), main(), pushline(), thd0(), thd1(), and thd2().