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

Unified Diff: runtime/bin/thread_pool_linux.h

Issue 9141005: Change the thread interface in runtime/platform and use it starting all threads (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from asiva@ 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
Index: runtime/bin/thread_pool_linux.h
diff --git a/runtime/bin/thread_pool_linux.h b/runtime/bin/thread_pool_linux.h
deleted file mode 100644
index 842119758032317a4f6b2fe25a01297d2072500e..0000000000000000000000000000000000000000
--- a/runtime/bin/thread_pool_linux.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-#ifndef BIN_THREAD_POOL_LINUX_H_
-#define BIN_THREAD_POOL_LINUX_H_
-
-#if !defined(BIN_THREAD_POOL_H_)
-#error Do not include thread_pool_linux.h directly; use thread_pool.h instead.
-#endif
-
-#include <pthread.h>
-
-#include "platform/globals.h"
-
-
-class ThreadPoolData {
- private:
- ThreadPoolData() {}
- ~ThreadPoolData() {}
-
- pthread_t* threads() { return threads_; }
- void set_threads(pthread_t* threads) { threads_ = threads; }
-
- pthread_t* threads_;
-
- friend class ThreadPool;
-
- DISALLOW_ALLOCATION();
- DISALLOW_COPY_AND_ASSIGN(ThreadPoolData);
-};
-
-#endif // BIN_THREAD_POOL_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698