TTElib
Twitchy Thumbs Entertainment library
|
Classes | |
class | ThreadInterface |
Public Types | |
typedef SceUID | Id_t |
typedef int(* | ThreadMainFunc )(void *arg) |
Public Member Functions | |
Thread () | |
bool | Create (const char *name, ThreadInterface *threadInterface, size_t stackSize=16 *1024) |
bool | Create (const char *name, ThreadMainFunc mainFunc, void *arg, size_t stackSize=16 *1024) |
int | Join () |
Id_t | GetId () const |
void | SetId (Id_t id) |
Static Public Member Functions | |
static Id_t | GetCurrentThreadId () |
typedef SceUID TTE::Thread::Id_t |
typedef int(* TTE::Thread::ThreadMainFunc)(void *arg) |
TTE::Thread::Thread | ( | ) |
bool TTE::Thread::Create | ( | const char * | name, |
ThreadInterface * | threadInterface, | ||
size_t | stackSize = 16 *1024 |
||
) |
bool TTE::Thread::Create | ( | const char * | name, |
ThreadMainFunc | mainFunc, | ||
void * | arg, | ||
size_t | stackSize = 16 *1024 |
||
) |
|
static |
Id_t TTE::Thread::GetId | ( | ) | const |
int TTE::Thread::Join | ( | ) |
void TTE::Thread::SetId | ( | Id_t | id | ) |