diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-05-27 23:44:23 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-05-27 23:44:23 +0200 |
commit | 897b281e67dc82700db9fd9c2dedc5e01e5871ee (patch) | |
tree | c6b2d8eebdb5ce2c7ae10a475827fd95c08cd9b7 /louloulibs/utils/get_first_non_empty.cpp | |
parent | 54f96debcaa80ea2d49f722b0df11d227943ebba (diff) | |
download | biboumi-897b281e67dc82700db9fd9c2dedc5e01e5871ee.tar.gz biboumi-897b281e67dc82700db9fd9c2dedc5e01e5871ee.tar.bz2 biboumi-897b281e67dc82700db9fd9c2dedc5e01e5871ee.tar.xz biboumi-897b281e67dc82700db9fd9c2dedc5e01e5871ee.zip |
Avoid some potential race conditions by blocking the signals we manage
They are atomically unblocked in the ppoll/epoll_pwait calls, avoiding any
race condition on the check of the “stop” or “reload” booleans.
Diffstat (limited to 'louloulibs/utils/get_first_non_empty.cpp')
m--------- | louloulibs | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/louloulibs b/louloulibs -Subproject 89398b5d886744c3812b65195308cae57eca2b5 +Subproject 0f3c1183e2bf0941ae2bffd3f31577bce4f3001 |