[Zope] Is there a way to askZope whether it is running multithreaded

Paul Zwarts paz@oratrix.com
Fri, 23 Nov 2001 11:18:37 +0100


Robert,

I could be misleading you (and myself) but as I understand, the -t is
for that. Here is the exerpt from the z2.py which is run by start(.bat
in case of windows)

  -t n

    The number of threads to use, if ZODB3 is used. The default is
    %(NUMBER_OF_THREADS)s.

I would guess just use a -t 1 argument and you should be fine. Although
I;m not sure if this is what limits the number of python thread.

Cheers,
Paul Zwarts

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
Robert Rottermann
Sent: Friday, November 23, 2001 10:33 AM
To: zope@zope.org
Subject: [Zope] Is there a way to askZope whether it is running
multithreaded

I am using Wing as a debugger. This excellent tool needs Zope to run
singlethreaded. Otherwise it dies so miserably that it kills even the
Linux
it is running on.

Wing uses a patched z2.py where it has a call to connect to wing added.

I would like to be able to avoid connecting to Wing when Zope is running
multithreaded.


thanks

Robert



_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )