Date: Thu, 10 Apr 2003 00:25:39 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: FreeBSD current users <current@FreeBSD.ORG> Subject: variable mp_ncpu Message-ID: <Pine.BSF.4.21.0304100022040.55025-100000@InterJet.elischer.org>
next in thread | raw e-mail | index | archive | help
Would it be possible to have the sysclt hw.ncpu always available, even in a UP kernel? it is currently only valid in an SMP kernel whichmeans that userland code that needs to know this has to do: if (hw.ncpu exists) something(hw.ncpu) else something(1) having it always available would see a lot more consistant. julian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0304100022040.55025-100000>
