commit | 1777a335585d0876f3f0861c446f35dbc68a6875 | [log] [tgz] |
---|---|---|
author | Chris Friedt <cfriedt@meta.com> | Wed Nov 16 07:15:14 2022 -0500 |
committer | Stephanos Ioannidis <root@stephanos.io> | Sat Nov 19 14:16:38 2022 +0900 |
tree | 9957579c41bebcc8af38f1a75e311c85b1eedd18 | |
parent | 84c09433b574b40a7d673fb47a1600c64b1d57c8 [diff] |
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: Chris Friedt <cfriedt@meta.com>