#include <gobjconfig.h>
#include <gobj/decls.h>
#include <pthread.h>
Typedefs | |
typedef void | Gj_ThreadEntry (void*) |
Thread entry function prototype. | |
typedef pthread_t | Gj_ThreadId |
Thread id type. | |
Functions | |
int | Gj_thread_new (Gj_Ctx* ctx, Gj_ThreadId* id, Gj_ThreadEntry* entry, void* arg) |
Create a new thread and stores its id in *id. More... | |
void | Gj_thread_exit (void* ret) |
Exit the actual thread (self) with the given return value. More... |
|
Create a new thread and stores its id in *id.
|
|
Exit the actual thread (self) with the given return value.
|