|
|
Add different behavior to AwakableList for "persistent" vs "one-shot" awakables.
* See the comment above AwakableList::Add()'s declaration for details
about the distinction between persistent and one-shot.
* Rename various |force| parameters to (Add()/AddAwakable()/etc.) to
|persistent|.
* A lot more work has to be done in WaitSetDispatcher, but this change
is already too big, so I did the minimum amount to keep it sane.
* Also, more tests should be added.
R=vardhan@google.com
BUG=#350
Committed: https://chromium.googlesource.com/external/mojo/+/744cd1ce0ce541ec99d8ac69d851141dd160e230
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+240 lines, -217 lines) |
Patch |
 |
M |
mojo/edk/system/async_waiter.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/async_waiter.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/awakable.h
|
View
|
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/awakable.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/awakable_list.h
|
View
|
|
2 chunks |
+29 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/awakable_list.cc
|
View
|
|
3 chunks |
+31 lines, -14 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/awakable_list_unittest.cc
|
View
|
|
21 chunks |
+58 lines, -75 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/core_test_base.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/core_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe.cc
|
View
|
|
6 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe_consumer_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe_consumer_dispatcher.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe_impl_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe_producer_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe_producer_dispatcher.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/dispatcher.h
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/dispatcher.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/local_message_pipe_endpoint.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/local_message_pipe_endpoint.cc
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/message_pipe.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/message_pipe.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/message_pipe_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/message_pipe_dispatcher.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/message_pipe_endpoint.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/message_pipe_endpoint.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/simple_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/simple_dispatcher.cc
|
View
|
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/wait_set_dispatcher.h
|
View
|
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/wait_set_dispatcher.cc
|
View
|
|
3 chunks |
+29 lines, -35 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/waiter.h
|
View
|
|
2 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/waiter.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 6 (1 generated)
|