|
PS2SDK
PS2 Homebrew Libraries
|
#include <stdio.h>#include <thbase.h>#include <thsemap.h>#include <loadcore.h>#include <sysmem.h>#include <intrman.h>#include <sysclib.h>#include "common.h"
Include dependency graph for common.c:Go to the source code of this file.
Functions | |
| int | create_thread (void(*func)(void *), int priority, void *param) |
| void | print_hex_buffer (unsigned char *ptr, int len) |
audsrv helpers
Definition in file common.c.
| int create_thread | ( | void(* | func )(void *), |
| int | priority, | ||
| void * | param ) |
Helper function to easily create threads
| func | thread procedure |
| priority | thread priority (usually 40) |
| param | optional argument for thread procedure |
Creates a thread based on the given parameter. Upon completion, thread is started.
Definition at line 34 of file common.c.
Referenced by audsrv_cd_play_sectors(), and audsrv_init().