Re: Threads?
Ben Laurie <[email protected]> Tue, 06 Apr 2004 18:16:15 +0100
| Newsgroups | gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <[email protected]> |
Ben Collins wrote: >>One of the reasons APR has threads disabled on FreeBSD is because Apache >>2 just plain doesn't work threaded on FreeBSD. So, even if prothon >>works, it doesn't bode well for the future. > > > Well, apache is much more intensive than prothon is. I have to question that assumption - surely its all down to what the application does with threads (and prothon isn't the application, of course)? > I can't see us > doing prothon without threads. I'm curious to know why not? > Is it that threads in general don't work well, or just APR's use of the > threads don't work well? The comment I got from the FreeBSD APR expert was: [16:22] <chipig> threading on 4.x is stuck using libc_r, and basicly broken forever. So, if you aren't supporting unthreaded, then you aren't working on FreeBSD 4.x, it seems. There are many other unthreaded platforms, too, of course. The good news is that KSE threads on 5.2-CURRENT work well, I'm told. Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff