How should a C11 thread pool safely wait for one specific task?
I have a basic C11 thread pool that works well for fire-and-forget jobs, but I now want callers to wait for a particular task to finish. Tasks are…
I have a basic C11 thread pool that works well for fire-and-forget jobs, but I now want callers to wait for a particular task to finish. Tasks are…
I have a basic multithreaded task pool in C11 that works well for fire-and-forget jobs. I now want to add a function that waits for one particular task…