| Index: mojo/public/c/system/types.h
|
| diff --git a/mojo/public/c/system/types.h b/mojo/public/c/system/types.h
|
| index 9b1eedca402af3b5f7ddba40535d25e90e5b6f49..a88b024fe7eed15cc06d14742bac4653c6738523 100644
|
| --- a/mojo/public/c/system/types.h
|
| +++ b/mojo/public/c/system/types.h
|
| @@ -165,7 +165,14 @@ const MojoHandleSignals MOJO_HANDLE_SIGNAL_PEER_CLOSED = 1 << 2;
|
| #define MOJO_HANDLE_SIGNAL_PEER_CLOSED ((MojoHandleSignals)1 << 2)
|
| #endif
|
|
|
| -// TODO(vtl): Add out parameters with this to MojoWait/MojoWaitMany.
|
| +// |MojoHandleSignalsState|: Returned by wait functions to indicate the
|
| +// signaling state of handles. Members are as follows:
|
| +// - |satisfied signals|: Bitmask of signals that were satisfied at some time
|
| +// before the call returned.
|
| +// - |satisfiable signals|: These are the signals that are possible to
|
| +// satisfy. For example, if the return value was
|
| +// |MOJO_RESULT_FAILED_PRECONDITION|, you can use this field to
|
| +// determine which, if any, of the signals can still be satisfied.
|
| // Note: This struct is not extensible (and only has 32-bit quantities), so it's
|
| // 32-bit-aligned.
|
| MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int32_t) == 4, "int32_t has weird alignment");
|
|
|