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

Side by Side Diff: mojo/public/c/system/wait.h

Issue 1827193002: Remove deprecated headers from mojo/public/{c,cpp}/system. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « mojo/public/c/system/types.h ('k') | mojo/public/cpp/system/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // This file contains basic functions common to different Mojo system APIs. 5 // This file contains basic functions common to different Mojo system APIs.
6 // 6 //
7 // Note: This header should be compilable as C. 7 // Note: This header should be compilable as C.
8 8
9 #ifndef MOJO_PUBLIC_C_SYSTEM_WAIT_H_ 9 #ifndef MOJO_PUBLIC_C_SYSTEM_WAIT_H_
10 #define MOJO_PUBLIC_C_SYSTEM_WAIT_H_ 10 #define MOJO_PUBLIC_C_SYSTEM_WAIT_H_
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // handles satisfying any of its signals. 95 // handles satisfying any of its signals.
96 // |MOJO_RESULT_FAILED_PRECONDITION| if it is or becomes impossible that SOME 96 // |MOJO_RESULT_FAILED_PRECONDITION| if it is or becomes impossible that SOME
97 // |handle[i]| will ever satisfy any of the signals in |signals[i]|. 97 // |handle[i]| will ever satisfy any of the signals in |signals[i]|.
98 // |MOJO_RESULT_BUSY| if some |handle[i]| is currently in use in some 98 // |MOJO_RESULT_BUSY| if some |handle[i]| is currently in use in some
99 // transaction (that, e.g., may result in it being invalidated, such as 99 // transaction (that, e.g., may result in it being invalidated, such as
100 // being sent in a message). 100 // being sent in a message).
101 MojoResult MojoWaitMany(const MojoHandle* MOJO_RESTRICT handles, // In. 101 MojoResult MojoWaitMany(const MojoHandle* MOJO_RESTRICT handles, // In.
102 const MojoHandleSignals* MOJO_RESTRICT signals, // In. 102 const MojoHandleSignals* MOJO_RESTRICT signals, // In.
103 uint32_t num_handles, // In. 103 uint32_t num_handles, // In.
104 MojoDeadline deadline, // In. 104 MojoDeadline deadline, // In.
105 uint32_t* MOJO_RESTRICT result_index, // Optional out 105 uint32_t* MOJO_RESTRICT result_index, // Optional out.
106 struct MojoHandleSignalsState* MOJO_RESTRICT 106 struct MojoHandleSignalsState* MOJO_RESTRICT
107 signals_states); // Optional out 107 signals_states); // Optional out.
108 108
109 MOJO_END_EXTERN_C 109 MOJO_END_EXTERN_C
110 110
111 #endif // MOJO_PUBLIC_C_SYSTEM_WAIT_H_ 111 #endif // MOJO_PUBLIC_C_SYSTEM_WAIT_H_
OLDNEW
« no previous file with comments | « mojo/public/c/system/types.h ('k') | mojo/public/cpp/system/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698