Re: where is the real HEAD?

Oliver Graf <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Organization KEVAG Telekom GmbH / RZ-Online GmbH
Message-ID <[email protected]>
On Sun, Dec 28, 2003 at 03:02:41PM +0100, Florian Festi wrote:
> > 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...)
> 
> twisted is a python frame work containing lots of things. For details you
> should ask Thomas Waldmann who developed the twisted support. AFAIK
> MoinMoin runs multi threaded with in twisted although twisted prefers
> single threaded applications.

I must correct myself. It won't run single threaded because of those
sys.exit calls scattered around in MoinMoin which will simply kill a
single threaded FastCGI process. In a mutlithreaded environment this
simply exits the current thread...

I wonder how this is solved within twisted... but perhaps Thomas reads
this list, too, and can give me a hint to this...

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.