|
Kohi Game Engine
|
#include "containers/queue.h"#include "threads/kmutex.h"#include "threads/ksemaphore.h"#include "threads/kthread.h"#include "defines.h"Go to the source code of this file.
Data Structures | |
| struct | worker_thread |
Typedefs | |
| typedef struct worker_thread | worker_thread |
Functions | |
| KAPI b8 | worker_thread_create (worker_thread *out_thread) |
| KAPI void | worker_thread_destroy (worker_thread *thread) |
| KAPI b8 | worker_thread_add (worker_thread *thread, pfn_thread_start work_fn, void *params) |
| KAPI b8 | worker_thread_start (worker_thread *thread) |
| KAPI b8 | worker_thread_wait (worker_thread *thread) |
| typedef struct worker_thread worker_thread |
| KAPI b8 worker_thread_add | ( | worker_thread * | thread, |
| pfn_thread_start | work_fn, | ||
| void * | params | ||
| ) |
| KAPI b8 worker_thread_create | ( | worker_thread * | out_thread | ) |
| KAPI void worker_thread_destroy | ( | worker_thread * | thread | ) |
| KAPI b8 worker_thread_start | ( | worker_thread * | thread | ) |
| KAPI b8 worker_thread_wait | ( | worker_thread * | thread | ) |