Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2001 16:19:15 +1030
From:      Greg Lehey <grog@lemis.com>
To:        FreeBSD SMP list <FreeBSD-smp@FreeBSD.org>
Subject:   Allocating mutexes dynamically and WITNESS
Message-ID:  <20010109161915.C51397@wantadilla.lemis.com>

next in thread | raw e-mail | index | archive | help
I'm about to add a lock mutex to Vinum RAID-[45] plexes.  Each plex
gets its own mutex, since it only applies to a specific plex.  That's
fine in the normal case: I just add a MUTEX_DECLARE to the plex struct
definition and all is fine and dandy.  But if I do this with WITNESS
defined, it tries to initialize it.  Any thoughts about how to DTRT
here?

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010109161915.C51397>