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

Unified Diff: runtime/bin/thread_pool_macos.h

Issue 9231020: Use platform implementation of Monitor in thread pool (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
« no previous file with comments | « runtime/bin/thread_pool_linux.cc ('k') | runtime/bin/thread_pool_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/thread_pool_macos.h
diff --git a/runtime/bin/thread_pool_macos.h b/runtime/bin/thread_pool_macos.h
index 8fe7d047342f0bcd4d24e8c32cea166002030197..d29b6f8b1dcdb4640c19f8739ca8e93a86b065ec 100644
--- a/runtime/bin/thread_pool_macos.h
+++ b/runtime/bin/thread_pool_macos.h
@@ -10,24 +10,6 @@
#include "platform/globals.h"
-class TaskQueueData {
- private:
- TaskQueueData() {}
- ~TaskQueueData() {}
-
- pthread_mutex_t* mutex() { return &mutex_; }
- pthread_cond_t* cond() { return &cond_; }
-
- pthread_mutex_t mutex_;
- pthread_cond_t cond_;
-
- friend class TaskQueue;
-
- DISALLOW_ALLOCATION();
- DISALLOW_COPY_AND_ASSIGN(TaskQueueData);
-};
-
-
class ThreadPoolData {
private:
ThreadPoolData() {}
« no previous file with comments | « runtime/bin/thread_pool_linux.cc ('k') | runtime/bin/thread_pool_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698