Pithikos / C-Thread-Pool

A minimal but powerful thread pool in ANSI C
MIT License
2.06k stars 603 forks source link

Is it possible to wait for a specific task? #131

Open giovancris opened 5 months ago

giovancris commented 5 months ago

Hello!

I have a simple question: We have the function void thpool_wait(threadpool); that wait for all queued jobs to finish, I was wondering if there was the possibility to wait for a specific job, something like thpool_wait(threadpool, jobID);

Thank you in advance