OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/system/core.h" | 5 #include "mojo/system/core.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "mojo/public/c/system/core.h" | |
12 #include "mojo/system/constants.h" | 11 #include "mojo/system/constants.h" |
13 #include "mojo/system/data_pipe.h" | 12 #include "mojo/system/data_pipe.h" |
14 #include "mojo/system/data_pipe_consumer_dispatcher.h" | 13 #include "mojo/system/data_pipe_consumer_dispatcher.h" |
15 #include "mojo/system/data_pipe_producer_dispatcher.h" | 14 #include "mojo/system/data_pipe_producer_dispatcher.h" |
16 #include "mojo/system/dispatcher.h" | 15 #include "mojo/system/dispatcher.h" |
17 #include "mojo/system/local_data_pipe.h" | 16 #include "mojo/system/local_data_pipe.h" |
18 #include "mojo/system/memory.h" | 17 #include "mojo/system/memory.h" |
19 #include "mojo/system/message_pipe.h" | 18 #include "mojo/system/message_pipe.h" |
20 #include "mojo/system/message_pipe_dispatcher.h" | 19 #include "mojo/system/message_pipe_dispatcher.h" |
21 #include "mojo/system/raw_shared_buffer.h" | 20 #include "mojo/system/raw_shared_buffer.h" |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 // |Wait()|/|WaitMany()| call. (Only after doing this can |waiter| be | 554 // |Wait()|/|WaitMany()| call. (Only after doing this can |waiter| be |
556 // destroyed, but this would still be required if the waiter were in TLS.) | 555 // destroyed, but this would still be required if the waiter were in TLS.) |
557 for (i = 0; i < num_added; i++) | 556 for (i = 0; i < num_added; i++) |
558 dispatchers[i]->RemoveWaiter(&waiter); | 557 dispatchers[i]->RemoveWaiter(&waiter); |
559 | 558 |
560 return rv; | 559 return rv; |
561 } | 560 } |
562 | 561 |
563 } // namespace system | 562 } // namespace system |
564 } // namespace mojo | 563 } // namespace mojo |
OLD | NEW |