Date: Thu, 13 Jun 2002 00:19:32 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccbb pccbb.c pccbbvar.h Message-ID: <200206130719.g5D7JWu21683@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2002/06/13 00:19:32 PDT Modified files: sys/dev/pccbb pccbb.c pccbbvar.h Log: Use a cv rather than tsleep and friends to do the sleep/wakeup handshake between the ISR and the worker thread. Move the mutex lock so that it only protects the cv_wait. This elimiates the not sleeping with pccbb1 held messages some people were seeing. Reviewed by: jhb (at least an early version) Revision Changes Path 1.47 +13 -6 src/sys/dev/pccbb/pccbb.c 1.11 +2 -1 src/sys/dev/pccbb/pccbbvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206130719.g5D7JWu21683>