Embedding Python, threading and scalability

Aahz aahz at pythoncraft.com
Fri Jul 11 01:48:57 CEST 2003


In article <mailman.1057877718.17081.python-list at python.org>,
Jeff Epler  <jepler at unpythonic.net> wrote:
>On Thu, Jul 10, 2003 at 03:54:14PM -0400, Aahz wrote:
>>
>> Other people have mentioned Perl and Tcl in this thread.  I wonder how
>> they deal with the problem of loading DLLs with static data.
>
>As far as I know, tcl enforces a one interpreter to one thread
>requirement.  An extension should have only thread-local data, using a
>Tcl-supplied API.

What happens when Tcl wants to interact with some 3rd-party DLL that is
*not* thread-safe?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Not everything in life has a clue in front of it...."  --JMS




More information about the Python-list mailing list