src/server/public/nsapi.h

changeset 569
70bca6190669
parent 498
0d80f8a2b29f
--- a/src/server/public/nsapi.h	Fri Jan 24 17:42:58 2025 +0100
+++ b/src/server/public/nsapi.h	Sun Jan 26 23:09:43 2025 +0100
@@ -1626,7 +1626,7 @@
 threadpool_t* threadpool_new(int min, int max);
 int threadpool_start(threadpool_t *pool);
 void* threadpool_func(void *data);
-threadpool_job* threadpool_get_job(threadpool_t *pool);
+threadpool_job* threadpool_get_job(threadpool_t *pool, int thread_index);
 void threadpool_run(threadpool_t *pool, job_callback_f func, void *data);
 
 int event_pollin(EventHandler *ev, SYS_NETFD fd, Event *event);

mercurial