diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-12-19 15:15:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-12-19 16:08:20 +0100 |
commit | b68640c44ecdb1df59d704cc6c2bae8bb412d7d0 (patch) | |
tree | 43f9196d9f3c87d9608ef2024ee477e43d5b5732 /cppu/source/threadpool/thread.hxx | |
parent | 71b63586c5fe33fdf836ecb417d11f9c2d4e4b72 (diff) |
Prevent creation of new ORequestThreads during shutdown.
Diffstat (limited to 'cppu/source/threadpool/thread.hxx')
-rw-r--r-- | cppu/source/threadpool/thread.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cppu/source/threadpool/thread.hxx b/cppu/source/threadpool/thread.hxx index bbef51eabca4..a3ea45aadaed 100644 --- a/cppu/source/threadpool/thread.hxx +++ b/cppu/source/threadpool/thread.hxx @@ -74,6 +74,7 @@ namespace cppu_threadpool { class ThreadAdmin { public: + ThreadAdmin(); ~ThreadAdmin (); static ThreadAdminHolder &getInstance(); void add( ORequestThread * ); @@ -83,6 +84,7 @@ namespace cppu_threadpool { private: ::osl::Mutex m_mutex; ::std::list< ORequestThread * > m_lst; + bool m_disposed; }; } // end cppu_threadpool |