ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
mirror_thread_pool.c
Go to the documentation of this file.
2
3asciichat_error_t thread_pool_spawn(thread_pool_t *, void *(*)(void *), void *, int, const char *) {
4 return SET_ERRNO(ERROR_NOT_SUPPORTED, "Native thread pool unavailable in the browser mirror");
5}
6
#define SET_ERRNO(code,...)
asciichat_error_t
Error and exit codes - unified status values (0-255).
Definition error_codes.h:48
@ ASCIICHAT_OK
Definition error_codes.h:50
@ ERROR_NOT_SUPPORTED
Definition error_codes.h:74
struct thread_pool thread_pool_t
One queued function call waiting for a thread-pool worker.
asciichat_error_t thread_pool_spawn(thread_pool_t *, void *(*)(void *), void *, int, const char *)
asciichat_error_t thread_pool_stop_all(thread_pool_t *)
Stop all threads in the pool in stop_id order.
🧵 Generic thread pool abstraction for managing worker threads