Date: Sun, 18 Jul 2004 01:40:31 -0400 (EDT) From: Robert Watson <rwatson@FreeBSD.org> To: threads@FreeBSD.org Subject: A way to build and install libpthread as 1:1 as well as M:N? Message-ID: <Pine.NEB.3.96L.1040718013848.37108O-100000@fledge.watson.org>
next in thread | raw e-mail | index | archive | help
I'm doing some stability and performance testing as part of the network stack locking work. I'd like a way to easily plug and play the configuration of libpthread at run-time (although restarting apps is fine, rebooting is less preferable, as is actually rebuilding!). It looks like right now if I want to switch the operating mode of libpthread to 1:1, I have to recompile it with different compile options and have a separate library floating around that I plug. Could we arrange for it to be a runtime switch of some sort (perhaps read once when the app starts), or build the library both ways by default and intall with different names? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040718013848.37108O-100000>