Commit dd99e2f
Peter Teichman
re-seed the Python random number generator after forking jobs
At some point during pyres_worker startup, the Python PRNG is
seeded. Since pyres_worker doesn't generate any random numbers on
its own, each job process that is forked starts with the PRNG in
the same state.
Fixes binarymatt#82
binarymatt#821 parent b9d9912 commit dd99e2f
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
170 | 177 | | |
171 | 178 | | |
172 | 179 | | |
| |||
0 commit comments