PERFORCE change 38918 for review
Warner Losh
imp at FreeBSD.org
Tue Sep 30 14:14:17 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=38918
Change 38918 by imp at imp_koguchi on 2003/09/30 14:14:04
unlock the mutex
Affected files ...
.. //depot/doc/strawman-driver.c#3 edit
Differences ...
==== //depot/doc/strawman-driver.c#3 (text+ko) ====
@@ -21,10 +21,12 @@
sc = dev->si_drv1;
...
case FOO_GERBIL:
- /* Wait for a weird GERBIL event in the device and return it */
+ /*
+ * Wait for a weird GERBIL event in the device and return it
*/
mtx_lock(&sc->mtx);
cv_wait(&sc->cv, &sc->mtx);
+ mtx_unlock(&sc->mtx);
if (sc->dead)
return EGONE;
...
More information about the p4-projects
mailing list