diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-04-22 12:10:27 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-04-22 13:25:38 +0200 |
| commit | 38554d3ae6c4ea553fd4e9ab2185c0d79f1144f7 (patch) | |
| tree | 6220285e2cf240c271f63464bae64054039d02f3 /tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py | |
| parent | 159246be247fd4332780fcafe5909874ae2c705a (diff) | |
lib: hard-fail creating threads before fork()
Creating any threads before we fork() into the background (if `-d` is
given) is an extremely dangerous footgun; the threads are created in
the parent and terminated when that exits.
This is extra dangerous because while testing, you'd often run the
daemon in foreground without `-d`, and everything works as expected.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py')
0 files changed, 0 insertions, 0 deletions
