Message16168
Logged In: YES
user_id=33168
I changed the DELAY in the test to be zero. The test fails,
but it's interesting that it also hangs in
lock_PyThread_acquire_lock (line 63):
Lib/threading.py (195): wait
Lib/threading.py (468): join
Lib/threading.py (564): __exitfunc
Lib/atexit.py (11): _run_exitfuncs
In looking at threadmodule.c I notice that most of the time
Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS is not used
around PyThread_acquire_lock, but it is in
lock_PyThread_acquire_lock. I'm not sure all of these are safe.
Here's some more detail on the Sun:
test_socketserver
ADDR = ('localhost', 17231)
CLASS = SocketServer.ForkingTCPServer
server created
thread: creating server
server running
thread: serving three times
test client 0
Fatal Python error: Invalid thread state for this thread
|
|
Date |
User |
Action |
Args |
2007-08-23 14:13:31 | admin | link | issue743692 messages |
2007-08-23 14:13:31 | admin | create | |
|