summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-01-26 07:26:12 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-01-26 07:26:12 (GMT)
commit653272f0cfcdb1aa3a4c4d1656c760c504671575 (patch)
treef74b323e48faf87f489c2cf5f0e1ca152914dc60 /Doc/c-api
parent5be3067742f3f7fbf34dd7288d745e4754eeae1f (diff)
downloadcpython-653272f0cfcdb1aa3a4c4d1656c760c504671575.zip
cpython-653272f0cfcdb1aa3a4c4d1656c760c504671575.tar.gz
cpython-653272f0cfcdb1aa3a4c4d1656c760c504671575.tar.bz2
Use a condition variable (threading.Event) rather than sleeps and checking a
global to determine when the server is ready to be used. This slows the test down, but should make it correct. There was a race condition before where the server could have assigned a port, yet it wasn't ready to serve requests. If the client sent a request before the server was completely ready, it would get an exception. There was machinery to try to handle this condition. All of that should be unnecessary and removed if this change works. A NOTE was added as a comment about what needs to be fixed. The buildbots will tell us if there are more errors or if this test is now stable.
Diffstat (limited to 'Doc/c-api')
0 files changed, 0 insertions, 0 deletions