An improper locking due to the unreleased lock before program exit
Closed this issue · 1 comments
ycaibb commented
Hi developers, in the below codes, the lock pool_mut
could be not released before program's exit abort();. I think there is no harm to write pthread_mutex_unlock(&pool_mut);
before the abort();
for better resource management and code symmetry. Thanks!
Lines 102 to 113 in 34a6c3e
TurboGit commented
Indeed, should be fixed now. Thanks.