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

Unified Diff: runtime/vm/os_thread.h

Issue 1515553003: VM: Fix deadlock in time line recording. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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/vm/os_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_thread.h
diff --git a/runtime/vm/os_thread.h b/runtime/vm/os_thread.h
index 9371b4538ae3d44227f23d13f58ac3bcd182551e..39eb815be469a68e8e0bff530d2679182d42f0bb 100644
--- a/runtime/vm/os_thread.h
+++ b/runtime/vm/os_thread.h
@@ -247,7 +247,7 @@ class OSThreadIterator : public ValueObject {
class Mutex {
public:
- Mutex();
+ explicit Mutex(bool recursive = false);
Ivan Posva 2015/12/09 16:34:57 The class Mutex is defined to not ever be recursiv
Florian Schneider 2015/12/10 14:44:21 What would break otherwise? I didn't see any tests
~Mutex();
void Lock();
« no previous file with comments | « no previous file | runtime/vm/os_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698