We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, thanks for this awesome lib.
In thpool.c (line 37), here is static volatile int threads_keepalive; , why not put threads_keepalive on struct thpool_?
static volatile int threads_keepalive;
threads_keepalive
struct thpool_
Assume the following scenario:
add_task
threads_keepalive == 0
The text was updated successfully, but these errors were encountered:
Just stumbled with similar issue. In my application, thread pool B isn't scheduling tasks if thread pool A is destroyed.
Sorry, something went wrong.
No branches or pull requests
Hi, thanks for this awesome lib.
In thpool.c (line 37), here is
static volatile int threads_keepalive;
, why not putthreads_keepalive
onstruct thpool_
?Assume the following scenario:
threads_keepalive
is set to 1);add_task
on thread pool A;threads_keepalive
is set to 1);add_task
on thread pool B;threads_keepalive
is set to 0);add_task
on thread pool B ; ( task won't execute, because ofthreads_keepalive == 0
)The text was updated successfully, but these errors were encountered: