Re: where is the real HEAD?
Oliver Graf <[email protected]>
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Dec 28, 2003 at 11:22:45AM +0100, Oliver Graf wrote: > Yep, that code looks well suited for a FastCGI adaption. I think this > should get me a running FastCGI version this evening. Should I send patches > to this list? Ok, I've got a multi-threaded FastCGI MoinMoin running, but I don't know if this would be stable, cause there are lot of places where globals are used. So it would be better to swicth to a single threaded FastCGI version. As I told before, I don't have any knowledge what twisted ist (sounds a lot like Zope). Does anybody know if twisted is multi-threaded? If yes, and MoinMoin makes no problems with it's globals, it should also be save to run a multi-threaded FastCGI MoinMoin... (normally a global dict as in user.py should be thread-save by pythons implementation -- but a mutex would be normally the right thing to employ in such places...) I made changes to request.py (new RequestFastCGI), added a fcgmain which handles FastCGI requests and starts the fcg main loop, added a threaded FastCGI library (thfcgi.py) and a main.fcg. Oliver. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click