diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-30 01:15:48 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-30 01:15:52 +0200 |
commit | 9e279f212f2c35d1972a5fe4e9ebd09e37d20d15 (patch) | |
tree | 2c76a6801edaf0978f7859f8f431b4fd67f1d680 /.gitignore | |
parent | test: split tests into different files (diff) | |
download | cimple-9e279f212f2c35d1972a5fe4e9ebd09e37d20d15.tar.gz cimple-9e279f212f2c35d1972a5fe4e9ebd09e37d20d15.zip |
use __WNOTHREAD w/ waitpid
I learned about this flag on my previous job; basically, it should be
enabled by default IMO, so that the thread doesn't receive signals from
other threads' children.
Here, it doesn't matter too much, since we're waiting for a specific
child. However, if we were to use waitpid(-1, ...), it would be
essential to use this flag. Still, even here, it's good to have this on.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions