Multi-platform API for the creation and management of CPU threads. More...
#include "ai_api.h"Go to the source code of this file.
Functions | |
| AI_API void * | AiThreadCreate (unsigned int(*fn)(void *), void *data, int priority) |
| Creates a thread and returns a handler for the thread. More... | |
| AI_API void | AiThreadClose (void *thread) |
| Closes thread handle, to avoid resource leaks. More... | |
| AI_API void | AiThreadWait (void *thread) |
| Wait for a thread to finish. More... | |
| AI_API AI_CONST void * | AiThreadSelf () |
| Returns a handle for the current (calling) thread. More... | |
Multi-platform API for the creation and management of CPU threads.