summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-10 15:36:39 +0000
committerFred Drake <fdrake@acm.org>2000-04-10 15:36:39 +0000
commit1a4b593dd67a9c9cbb1560f4c00ac9a63218aca7 (patch)
treef1cd9208ae7b1c66eb5452f5d437ab93a1e9286f /Python/compile.c
parent9706486b9fb8d25762095c855c3c2a976dcbf1d3 (diff)
downloadcpython-git-1a4b593dd67a9c9cbb1560f4c00ac9a63218aca7.tar.gz
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/compile.c')
0 files changed, 0 insertions, 0 deletions