src/server/public/nsapi.h

changeset 738
677bff22d1b2
parent 569
70bca6190669
--- a/src/server/public/nsapi.h	Thu Mar 19 21:00:01 2026 +0100
+++ b/src/server/public/nsapi.h	Sat Jul 18 20:34:33 2026 +0200
@@ -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, int thread_index);
+threadpool_job* threadpool_get_job(threadpool_t *pool, pthread_t thr);
 void threadpool_run(threadpool_t *pool, job_callback_f func, void *data);
 
 int event_pollin(EventHandler *ev, SYS_NETFD fd, Event *event);

mercurial