[Zope] Zope threads and the GIL

sam python at zeomega.com
Sun May 4 20:52:38 EDT 2008


another scenario is  if you are using GIL aware Database adapters like mxODBC to access  an RDBMS 

sam
----- Original Message -----
From: "Manuel Vazquez Acosta" <mva.led at gmail.com>
To: "Andreas Jung" <lists at zopyx.com>
Cc: "Zope user list" <zope at zope.org>
Sent: Sunday, May 4, 2008 9:12:16 AM (GMT-0600) America/Guatemala
Subject: Re: [Zope] Zope threads and the GIL

Andreas Jung wrote:
> 
> 
> --On 4. Mai 2008 09:44:17 -0400 Manuel Vazquez Acosta
> <mva.led at gmail.com> wrote:
> 
>> Hi all, How does the GIL affect Zope threads?
> 
> Zope threads are Python threads and therefore a thread switch is not
> possible is some thread is holding the GIL.
> 
> -aj
> 

That would mean that the only place where real multitasking occurs is
when fetching objects from ZEO and other I/O bounded tasks, isn't?

Best regards,
Manuel
_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )



More information about the Zope mailing list