From 1c8cdeef1d546e8992aaa659dd191394f434cca0 Mon Sep 17 00:00:00 2001 From: dolphin8 Date: Thu, 21 Jun 2018 14:00:48 +0800 Subject: [PATCH] add threadpool to namespace paddle_mobile --- src/common/threadpool.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/threadpool.h b/src/common/threadpool.h index 998b7f94b5..bf7894dd94 100644 --- a/src/common/threadpool.h +++ b/src/common/threadpool.h @@ -24,6 +24,7 @@ limitations under the License. */ #include #include +namespace paddle_mobile { class ThreadPool { public: static ThreadPool& getThreadPool(); @@ -122,3 +123,4 @@ ThreadPool& ThreadPool::getThreadPool() { int ThreadPool::getThreadPoolThreadId() { return getThreadPool().getTid(std::this_thread::get_id()); } +} // namespace paddle_mobile -- GitLab