diff options
Diffstat (limited to 'src/thread.h')
-rw-r--r-- | src/thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h index 3ed3c93..6b7a52a 100644 --- a/src/thread.h +++ b/src/thread.h @@ -37,9 +37,10 @@ public: virtual ~Thread(); void run(); + void wait_stop(); virtual void thread_main() = 0; - + private: pthread_t tid; }; |