Skip to content

Conversation

pjcuadra
Copy link

After the jobqueue is already destroyed all the threads should be already down. Call pthread_join on all threads for symmetry. Also, tools like Valgrind and Helgrind my complain if pthread_join is not called.

After the jobqueue is already destroyed all the threads should be already down. Call pthread_join on all threads for symmetry. Also, tools like Valgrind and Helgrind my complain if pthread_join is not called.
@pjcuadra
Copy link
Author

This PR required to not call pthread_detach in thread_init. Does that break any assumptions. If not, I can remove that call, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant