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

Unified Diff: base/synchronization/lock_impl.h

Issue 2178503003: Add PTHREAD_PRIO_INHERIT Locks for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR Feedback Created 4 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
Index: base/synchronization/lock_impl.h
diff --git a/base/synchronization/lock_impl.h b/base/synchronization/lock_impl.h
index cbaabc784b109cb0723a71417d6ac4881de064bc..603585a05041764e20c41c17f57504130ba82110 100644
--- a/base/synchronization/lock_impl.h
+++ b/base/synchronization/lock_impl.h
@@ -48,6 +48,11 @@ class BASE_EXPORT LockImpl {
// unnecessary.
NativeHandle* native_handle() { return &native_handle_; }
+#if defined(OS_POSIX)
danakj 2016/07/27 22:47:53 ditto
robliao 2016/07/28 20:06:09 See previous comment.
+ // Whether this lock will attempt to use priority inheritance.
+ static bool PriorityInheritanceAvailable();
+#endif
+
private:
NativeHandle native_handle_;

Powered by Google App Engine
This is Rietveld 408576698