Help: I need threaded xlib for Linux 2.0.29
On Sat, 8 Nov 1997 16:42:23 GMT, Guido van Rossum
Quote:
>> No, I can't. I can't load threads and also use Tkinter,
>> (even if I don't create any threads). The mere presence of
>> the threads module prevents Tkinter connecting to my X server.
>This must be a problem with your system.
Yes, and it is now fixed!
Quote:
>> I'm writing a new interface to Tcl/Tk 8.0 which uses the
>> new Tcl Object protocol. Perhaps that will support
>> threading better.
>That's a great idea -- I'd love to see this when it's done!
Of course! I am working on the very low
level interface at present, it is about half done.
It provides direct access to Tcl 8 internals --
including parts not supported by the published
Tcl interface (including namespaces and variables).
[What is the most portable way to code up a lock
in C code? Or should I do it in Python?]
Quote:
>> I believe Tcl is thread safe --- provided
>> each thread controls a different interpreter :-)
>I believe it isn't, even when using different interpreters -- the Tcl
>event handling is shared by all interpreters and doesn't contain a
>single mutex.
Ah! I see. I will investigate.
John Max Skaller ph:61-2-96600850
http://www.zip.com.au/~skaller Glebe 2037 NSW AUSTRALIA