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

Unified Diff: src/sweeper-thread.h

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 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: src/sweeper-thread.h
diff --git a/src/sweeper-thread.h b/src/sweeper-thread.h
index 02cace66bf2cdf1971aaea4fe6ffe03755de56b1..692dfea6ccb0b66606199eb18a493ca6573b237b 100644
--- a/src/sweeper-thread.h
+++ b/src/sweeper-thread.h
@@ -6,8 +6,8 @@
#define V8_SWEEPER_THREAD_H_
#include "src/base/atomicops.h"
+#include "src/base/platform/platform.h"
#include "src/flags.h"
-#include "src/platform.h"
#include "src/utils.h"
#include "src/spaces.h"
@@ -17,7 +17,7 @@
namespace v8 {
namespace internal {
-class SweeperThread : public Thread {
+class SweeperThread : public base::Thread {
public:
explicit SweeperThread(Isolate* isolate);
~SweeperThread() {}
@@ -34,9 +34,9 @@ class SweeperThread : public Thread {
Isolate* isolate_;
Heap* heap_;
MarkCompactCollector* collector_;
- Semaphore start_sweeping_semaphore_;
- Semaphore end_sweeping_semaphore_;
- Semaphore stop_semaphore_;
+ base::Semaphore start_sweeping_semaphore_;
+ base::Semaphore end_sweeping_semaphore_;
+ base::Semaphore stop_semaphore_;
volatile base::AtomicWord stop_thread_;
};
« src/base/macros.h ('K') | « src/store-buffer.cc ('k') | src/sweeper-thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698