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

Unified Diff: src/isolate.h

Issue 1208933006: Atomics Futex API (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: TODO about busy-waiting Created 5 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
« no previous file with comments | « src/harmony-atomics.js ('k') | src/messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index a67f0c7fb55c72cae7ea20aa52c68bc2ca1ffcd5..42e22b4fd248b263a9de051da6f7ad6b73276339 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -15,6 +15,7 @@
#include "src/date.h"
#include "src/execution.h"
#include "src/frames.h"
+#include "src/futex-emulation.h"
#include "src/global-handles.h"
#include "src/handles.h"
#include "src/hashmap.h"
@@ -1130,6 +1131,8 @@ class Isolate {
return array_buffer_allocator_;
}
+ FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; }
+
protected:
explicit Isolate(bool enable_serializer);
@@ -1363,6 +1366,8 @@ class Isolate {
v8::ArrayBuffer::Allocator* array_buffer_allocator_;
+ FutexWaitListNode futex_wait_list_node_;
+
friend class ExecutionAccess;
friend class HandleScopeImplementer;
friend class OptimizingCompileDispatcher;
« no previous file with comments | « src/harmony-atomics.js ('k') | src/messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698