summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-10 15:36:39 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-10 15:36:39 (GMT)
commit1a4b593dd67a9c9cbb1560f4c00ac9a63218aca7 (patch)
treef1cd9208ae7b1c66eb5452f5d437ab93a1e9286f /Python
parent9706486b9fb8d25762095c855c3c2a976dcbf1d3 (diff)
downloadcpython-1a4b593dd67a9c9cbb1560f4c00ac9a63218aca7.zip
cpython-1a4b593dd67a9c9cbb1560f4c00ac9a63218aca7.tar.gz
cpython-1a4b593dd67a9c9cbb1560f4c00ac9a63218aca7.tar.bz2
Use a constant to specify the number of child threads to create.
Instead of assuming that the number process ids of the threads is the same as the process id of the controlling process, use a copy of the dictionary and check for changes in the process ids of the threads from the thread's process ids in the parent process. This makes the test make more sense on systems which assign a new pid to each thread (i.e., Linux). This doesn't fix the other problems evident with this test on Linux.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions