Home | History | Annotate | Download | only in system

Lines Matching full:awake

98   // Awake immediately after thread start.
102 thread.waiter()->Awake(MOJO_RESULT_OK, 1);
109 // Awake before after thread start.
112 thread.waiter()->Awake(MOJO_RESULT_CANCELLED, 2);
120 // Awake some time after thread start.
125 thread.waiter()->Awake(1, 3);
133 // Awake some longer time after thread start.
138 thread.waiter()->Awake(2, 4);
146 // Don't awake -- time out (on another thread).
159 // Awake immediately after thread start.
163 thread.waiter()->Awake(MOJO_RESULT_OK, 5);
170 // Awake before after thread start.
173 thread.waiter()->Awake(MOJO_RESULT_CANCELLED, 6);
181 // Awake some time after thread start.
186 thread.waiter()->Awake(1, 7);
194 // Awake some longer time after thread start.
199 thread.waiter()->Awake(2, 8);
241 // The first |Awake()| should always win.
250 thread.waiter()->Awake(MOJO_RESULT_OK, 1);
251 thread.waiter()->Awake(1, 2);
260 thread.waiter()->Awake(1, 3);
262 thread.waiter()->Awake(MOJO_RESULT_OK, 4);
272 thread.waiter()->Awake(10, 5);
274 thread.waiter()->Awake(20, 6);
285 thread.waiter()->Awake(MOJO_RESULT_FAILED_PRECONDITION, 7);
287 thread.waiter()->Awake(MOJO_RESULT_OK, 8);