Thread interface.
More...
#include <gf_pre.h>
#include <gf_macro.h>
#include <gf_type/thread.h>
Go to the source code of this file.
Thread interface.
Definition in file gf_thread.h.
◆ gf_thread_create()
gf_thread_t * gf_thread_create |
( |
void(*)(void *) |
func, |
|
|
void * |
userdata |
|
) |
| |
|
extern |
Create thread.
- Parameters
-
func | Function to be called for thread |
userdata | Data to be passed to thread |
- Returns
- Thread
Definition at line 22 of file gf_thread.c.
◆ gf_thread_destroy()
Destroy thread.
- Parameters
-
Definition at line 36 of file gf_thread.c.
◆ gf_thread_join()
Join thread.
- Parameters
-
Definition at line 31 of file gf_thread.c.