-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_ThreadPoolCreate
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Create an MTY_ThreadPool
for asynchronously executing tasks.
MTY_ThreadPool *MTY_ThreadPoolCreate(
uint32_t maxThreads
);
maxThreads
(uint32_t
)
Maximum number of threads that can be simultaneously executing.
MTY_ThreadPool *
This function can not return NULL
. It will call abort()
on failure.
The returned MTY_ThreadPool
object must be destroyed with MTY_ThreadPoolDestroy
.