cv_wait
Ian Lepore
ian at freebsd.org
Thu Jul 2 16:59:06 UTC 2020
On Thu, 2020-07-02 at 21:48 +0530, Kamal R. Prasad wrote:
> hello,
>
> i have written a piece of code in a freebsd driver meant for arm. The
> first
> cv_wait(&sc->sc_cv, &sc->sc_mtx);
> keeps waiting indefinitely. If I use cv_timedwait() instead, it
> returns
>
> EWOULDBLOCK
>
>
> does someone know why this is happening?
>
>
> thanks
>
> -kamal
>
That would imply that nothing is ever calling cv_signal(&sc->sc_cv) or
cv_broadcast(&sc->sc_cv).
-- Ian
More information about the freebsd-arm
mailing list