On Sep 24, 2004, at 12:55 PM, David Wheeler wrote:
And on a slightly related note, just how poorly do threads work on FreeBSD? I'm setting up a Subversion server and would like to use ViewCVS, but mod_python (/me throws salt over his shoulder) requires --enable-threads. Anyone here got much experience with Apache2 on FreeBSD with threads enabled? Any real problems?
On FreeBSD 4 threads suck. They don't just suck, they blow too.[1]
I've never had anything but trouble with them. They are user-land threads, so must cooperate for any kind of concurrency. I'm trying to get Postgres to replicate using Slony-I, and that is a threaded app. On FreeBSD 4.10, it locks up inside some threading library routine. On FreeBSD 5 it works fantascitally. I hear on FreeBSD 4.9 it also works.
FreeBSD 5 threads are awesome. They are scheduled at the kernel level and offer very good concurrency.
[1]: when I was in gradual school at Duke, we had a saying "The wind don't blow in Durham, it sucks!".
Vivek Khera, Ph.D. +1-301-869-4449 x806
smime.p7s
Description: S/MIME cryptographic signature
