Skip to content
Commit 08ba1768 authored by Christopher Friedt's avatar Christopher Friedt Committed by Anas Nashif
Browse files

posix: cond: use k_condvar instead of posix_cond



The internal representation of `pthread_cond_t`,
`struct posix_cond`, is an identical clone of `struct k_condvar`
but without the benefit of being able to use all of the
existing `k_condvar_*()` suite of functions.

The first step in the right direction was switching
the external representation of `pthread_cond_t` to a simple
`int`. Let's take the next step in the right direction, which
is getting rid of `struct posix_cond`.

For now, let's keep this change as a simple type
substitution. Eventually, we should be able to fully switch
to Zephyr API internally.

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