Date: Thu, 2 Jul 2020 21:48:02 +0530 From: "Kamal R. Prasad" <kamalpr@gmail.com> To: freebsd-arm@freebsd.org Subject: cv_wait Message-ID: <CAK=yUGLoM1YWX5yxsboKqaCMr2jKGgtJ0a-CVVsfeEO3SpsYLQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK=yUGLoM1YWX5yxsboKqaCMr2jKGgtJ0a-CVVsfeEO3SpsYLQ>