Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: native_client_sdk/src/libraries/sdk_util/thread_pool.h

Issue 19717004: [NaCl SDK] Add nacl_io and sdk_util namespaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad copyright in mount_mem Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/sdk_util/thread_pool.h
diff --git a/native_client_sdk/src/libraries/sdk_util/thread_pool.h b/native_client_sdk/src/libraries/sdk_util/thread_pool.h
index 7482347f5dbf0ce6dffbe3745ae2e8db7908cb59..332a69fdb7bc29061c6f9a15c0e7d793b75cdcf8 100644
--- a/native_client_sdk/src/libraries/sdk_util/thread_pool.h
+++ b/native_client_sdk/src/libraries/sdk_util/thread_pool.h
@@ -12,6 +12,8 @@
#include "sdk_util/atomicops.h"
+namespace sdk_util {
+
// typdef helper for work function
typedef void (*WorkFunction)(int task_index, void* data);
@@ -43,5 +45,8 @@ class ThreadPool {
sem_t work_sem_;
sem_t done_sem_;
};
+
+} // namespace sdk_util
+
#endif // LIBRARIES_SDK_UTIL_THREAD_POOL_H_
« no previous file with comments | « native_client_sdk/src/libraries/sdk_util/simple_lock.h ('k') | native_client_sdk/src/libraries/sdk_util/thread_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698