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

Unified Diff: src/isolate.h

Issue 2852983002: [simulator] Make reference redirection thread-safe. (Closed)
Patch Set: Created 3 years, 8 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/assembler.h ('k') | src/mips/simulator-mips.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 033ca1019168d8c1c1aab49253497b52d4a89955..f3ea9a6fcc191b6a25fbd3c5d2a6d62a50cfc458 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1250,6 +1250,9 @@ class Isolate {
#ifdef USE_SIMULATOR
base::Mutex* simulator_i_cache_mutex() { return &simulator_i_cache_mutex_; }
+ base::Mutex* simulator_redirection_mutex() {
+ return &simulator_redirection_mutex_;
+ }
#endif
void set_allow_atomics_wait(bool set) { allow_atomics_wait_ = set; }
@@ -1570,6 +1573,7 @@ class Isolate {
#ifdef USE_SIMULATOR
base::Mutex simulator_i_cache_mutex_;
+ base::Mutex simulator_redirection_mutex_;
#endif
bool allow_atomics_wait_;
« no previous file with comments | « src/assembler.h ('k') | src/mips/simulator-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698