Date: Mon, 1 Mar 2010 01:55:03 +0100 From: Attilio Rao <attilio@freebsd.org> To: freebsd-scsi@freebsd.org Cc: "Justin T. Gibbs" <gibbs@freebsd.org> Subject: How is supposed to be protected the units list? Message-ID: <3bbf2fe11002281655i61a5f0a0if3f381ad0c4a1ef8@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I have a question that I've been unable to reply reading the code. Someone could point me to documentation explaining how the unit tailq (within a struct periph_driver) is supposed to be locked? I'm not sure how it is assured consistency of accesses to the list and more important how is ensured that the periphs composing it doesn't go away as I don't see any reference bump for objects inserted there. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe11002281655i61a5f0a0if3f381ad0c4a1ef8>