Date: Mon, 29 Nov 1999 13:10:11 -0500 (EST) From: David Gilbert <dgilbert@velocet.ca> To: John LoVerso <loverso@infolibria.com> Cc: stable@freebsd.org Subject: Re: curproc 0? Message-ID: <14402.49539.605255.833958@trooper.velocet.net> In-Reply-To: <3842B827.11EEDD05@infolibria.com> References: <14402.43119.163568.35734@trooper.velocet.net> <3842B827.11EEDD05@infolibria.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "John" == John LoVerso <loverso@infolibria.com> writes: John> curproc is a magic pointer to the current process, set by the John> scheduler. If you inspect it from an interrupt or other John> non-process context, you'll find that it is 0. Well... the vinum code is calling tsleep() (in vinumlock.c at line 250) and curproc is 0... so what I'm asking here is if vinum should be calling this function, and if not, what? Or... should tsleep() not try to dereference curproc immediately? Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14402.49539.605255.833958>