diff options
Diffstat (limited to 'raul')
-rw-r--r-- | raul/Thread.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/raul/Thread.hpp b/raul/Thread.hpp index 29cade1..14652c9 100644 --- a/raul/Thread.hpp +++ b/raul/Thread.hpp @@ -70,8 +70,13 @@ protected: * * This is called once on start, and terminated on stop. * Implementations likely want to put some infinite loop here. + * + * When _exit_flag becomes true (via a call to stop()) the loop + * should exit. */ virtual void _run() {} + + bool _exit_flag; private: |