diff options
author | deva <deva> | 2005-09-12 15:34:25 +0000 |
---|---|---|
committer | deva <deva> | 2005-09-12 15:34:25 +0000 |
commit | 701608f39c59b530f6cede66ec24e9ddda8beae6 (patch) | |
tree | e974077734a45e0e6bb5b487b230922656834bed /src/thread.cc | |
parent | 84e9873f846478476487d5cd2587e5879a0be8ea (diff) |
*** empty log message ***
Diffstat (limited to 'src/thread.cc')
-rw-r--r-- | src/thread.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/thread.cc b/src/thread.cc index 23b142a..2791c53 100644 --- a/src/thread.cc +++ b/src/thread.cc @@ -45,3 +45,8 @@ void Thread::run() { pthread_create (&tid, NULL, thread_run, this); } + +void Thread::wait_stop() +{ + pthread_join (tid, NULL); +} |