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

Unified Diff: mojo/system/data_pipe.h

Issue 333713003: Mojo: Plumb wait flags state through DataPipe::Awake...WaitersForStateChangeNoLock(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wrong change Created 6 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 | mojo/system/data_pipe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/data_pipe.h
diff --git a/mojo/system/data_pipe.h b/mojo/system/data_pipe.h
index a1d95adc281432e9286d25a2388a8213b631be54..79d6d7a6c4cb2fa4e3a1d3f73a67a68b2260a936 100644
--- a/mojo/system/data_pipe.h
+++ b/mojo/system/data_pipe.h
@@ -165,8 +165,10 @@ class MOJO_SYSTEM_IMPL_EXPORT DataPipe :
}
private:
- void AwakeProducerWaitersForStateChangeNoLock();
- void AwakeConsumerWaitersForStateChangeNoLock();
+ void AwakeProducerWaitersForStateChangeNoLock(
+ const WaitFlagsState& new_producer_state);
+ void AwakeConsumerWaitersForStateChangeNoLock(
+ const WaitFlagsState& new_consumer_state);
bool has_local_producer_no_lock() const {
lock_.AssertAcquired();
« no previous file with comments | « no previous file | mojo/system/data_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698