Message581
Logged In: YES
user_id=125722
I don't think this is a bug in Jython.
The python docs specify nothing about thread safety of
standard types and the threading module is explicitly
recommended for inter thread communication.
CPython's central lock happens to enforce the thread
safety of it's implementation of standard types.
In Java the thread safety of standard types can be obtained
by using synchronized methods. In many JVM's synchronized
methods take more time to execute than non synchronized
ones, so this would slow down Jython.
Btw. the (internal) dictionaries used for namespaces are
thread safe in Jython.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:02 | admin | link | issue521701 messages |
2008-02-20 17:17:02 | admin | create | |
|