Skip to content
Commit 1777a335 authored by Christopher Friedt's avatar Christopher Friedt Committed by Stephanos Ioannidis
Browse files

lib: posix: internal: use a more generic INIT mask and inlines



Previously `PTHREAD_MUTEX_MASK_INIT` was used to mark a
`pthread_mutex_t` as initialized.

The same needs to be done for `pthread_cond_t` and likely others.

Rather than copy-pasting that and a number of inlines that
duplicate the same functionality, simply make it more generic.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
parent 84c09433
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment