Skip to content
New issue

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

thread: thrd_error fixes #431

Merged
merged 4 commits into from
Jul 13, 2022
Merged

thread: thrd_error fixes #431

merged 4 commits into from
Jul 13, 2022

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented Jul 11, 2022

This PR cleanups return value handling for some C11 thread functions.

It renames mtx_alloc -> mutex_alloc and thrd_create_name -> thread_create_name to make clear that these are libre related functions that uses other return values (0 for success etc.).

Fixes #429

@sreimers sreimers force-pushed the thrd_error branch 2 times, most recently from a5a79c3 to b38512c Compare July 12, 2022 08:38
@sreimers sreimers marked this pull request as ready for review July 13, 2022 06:42
@sreimers sreimers merged commit 0bc31e0 into main Jul 13, 2022
@sreimers sreimers deleted the thrd_error branch July 13, 2022 08:26
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.

incompatible or wrong C11 Threads return value handling
1 participant