Date: Mon, 11 Sep 2000 22:15:25 -0700 (PDT) From: John Baldwin <jhb@pike.osd.bsdi.com> To: Greg Lehey <grog@lemis.com> Cc: Chuck Paterson <cp@bsdi.com>, Jason Evans <jasone@canonware.com>, arch@FreeBSD.ORG Subject: Re: Long-term mutex ownership (was Re: Interruptable mutex aquires.) Message-ID: <200009120515.WAA78736@pike.osd.bsdi.com> In-Reply-To: <20000912143855.O88615@wantadilla.lemis.com> from Greg Lehey at "Sep 12, 2000 02:38:55 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote: > The general consensus (which I currently don't yet share) is that we > should use condition variables for things like async event waits. I'm > still looking for a consistent definition of condition variables, and > how they differ from "mutexes". Go grab Andrew S. Tannebaum's (sp?) _Modern_Operating_Systems_. One of the first chapters gives execellent treatment to comparing/contrasting mutexes, semaphores, condition variables, and sleep/wakeup. -- John Baldwin <jhb@bsdi.com> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009120515.WAA78736>