Skip to content

Call pthread_mutex_destroy on a locked mutex #16

@amadvance

Description

@amadvance

Take care that the manpage of pthread_mutex_destroy says:
"Attempting to destroy a locked mutex, or ...., results in undefined behavior."
But this is what the code is doing in threadpool_free().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions