Issue 1654429: thread join() with timeout hangs on Windows 2003 x64 (original) (raw)
Issue1654429
Created on 2007-02-07 18:14 by bentoi, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg31211 - (view) | Author: bentoi (bentoi) | Date: 2007-02-07 18:14 |
If join() is called on a thread which is alive with a timeout, it hangs for the duration of the timeout even if the thread terminated before. This appears to only happen on Windows 2003 x64. Here's a test case: --- #!/usr/bin/env python from threading import Thread import time class ReaderThread(Thread): def __init__(self): Thread.__init__(self) def run(self): print "sleeping" time.sleep(5) print "finished sleeping" thread = ReaderThread() thread.start() print "joining..." thread.join(60) print "joined" ---- | ||
msg85303 - (view) | Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * ![]() |
Date: 2009-04-03 12:59 |
I reproduce the problem with python 2.5, and it seems corrected with python 2.6.1. 2.5 now only accept security fixes: closing as "out of date". |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:22 | admin | set | github: 44559 |
2009-04-03 12:59:08 | amaury.forgeotdarc | set | status: open -> closednosy: + amaury.forgeotdarcmessages: + resolution: out of date |
2009-03-30 21:24:35 | ajaksu2 | set | stage: test neededtype: behaviorcomponents: + Windowsversions: + Python 2.6, - Python 2.5 |
2007-02-07 18:14:24 | bentoi | create |