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

Unified Diff: runtime/bin/loader.h

Issue 2039383002: Add missing locking around loaders list (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | runtime/bin/loader.cc » ('j') | runtime/bin/loader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/loader.h
diff --git a/runtime/bin/loader.h b/runtime/bin/loader.h
index 7c0497e2092f399dcfd220828c22cdc693888e7d..16ced436de1e8a9f17431bd67b22ce45e7870a19 100644
--- a/runtime/bin/loader.h
+++ b/runtime/bin/loader.h
@@ -116,6 +116,7 @@ class Loader {
static void RemoveLoader(Dart_Port port);
static intptr_t LoaderIndexFor(Dart_Port port);
static Loader* LoaderFor(Dart_Port port);
+ static Loader* LoaderForLocked(Dart_Port port);
// This is the global callback for the native message handlers.
static void NativeMessageHandler(Dart_Port dest_port_id,
« no previous file with comments | « no previous file | runtime/bin/loader.cc » ('j') | runtime/bin/loader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698