Files
zephyr/lib/os
Christopher Friedt 0014dd05f0 lib: os: add k_condvar for each fdtable entry
Complement the `struct k_mutex` in each fdtable entry
with a `struct k_condvar`. The reasoning for this should be
self-evident.

For a bit of history, `fdtable` was introduced in
commit 06eb489c45 ("kernel: add condition variables")
which predates `struct k_condvar`, introduced in
commit f484bbaa26 ("lib: posix: Implement generic file descriptor table")
by almost 2 years.

Additionally, provide a new accessor function,
`z_get_obj_lock_and_cond()`, that (optionally) gets the mutex
and condition variable associated with the provided object and
vtable.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-06-02 18:45:46 -04:00
..
2022-05-06 19:58:09 +02:00
2022-05-06 19:58:09 +02:00
2022-05-06 19:58:09 +02:00
2023-05-19 19:52:04 +00:00
2022-05-06 19:58:09 +02:00
2022-05-06 19:58:09 +02:00
2022-06-23 15:43:59 -05:00
2022-06-05 14:49:37 +02:00
2022-05-06 19:58:09 +02:00
2022-07-04 15:49:22 +02:00