diff options
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index 605e89ce27ff..3c98a61f9e50 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -1002,6 +1002,7 @@ void closeOnExec(int fd) bool _isInterrupted = false; static thread_local bool interruptThrown = false; +thread_local std::function<bool()> interruptCheck; void setInterruptThrown() { @@ -1020,7 +1021,6 @@ void _interrupted() } - ////////////////////////////////////////////////////////////////////// |