-
Committer:
Tarmac
-
Author(s):
Christopher James Halse Rogers, Christopher James Halse Rogers
-
Date:
2015-04-15 05:07:08 UTC
-
mfrom:
(2465.4.4 master)
-
Revision ID:
tarmac-20150415050708-bq08i0c0n00cn6km
Introduce trivial RAII helper for signal blocking.
Use it to close a tiny race in SimpleDispatchThread - there was a time between spawning the thread and blocking signals on it during which a signal could theoretically be caught.
.
Approved by PS Jenkins bot, Alexandros Frantzis, Cemil Azizoglu, Alan Griffiths, Kevin DuBois, Robert Carr.