hhvm: implement awaitable cancelation for external thread events
[hiphop-php.git] / hphp / test / slow / ext_asio / cancel.php.expect
blob812495be171453135b722cd985f8a71df7e01e14
1 === testCancelInvalidAwaitables ===
2 ok
3 ok
4 === testCancelBeforeAwait ===
5 bool(true)
6 before await
7 after await
8 operation was canceled
9 === testCancelAfterAwait ===
10 before await
11 after await
12 bool(true)
13 bool(true)
14 bool(true)
15 === testCancelDuringAwait ===
16 before await
17 bool(true)
18 after await
19 operation was canceled
20 === testCancelFromBeginIOWait ===
21 before await
22 io wait enter
23 bool(true)
24 io wait exit
25 operation was canceled
26 after await
27 === testCancelDuringAwait ===
28 before await
29 bool(true)
30 after await
31 operation was canceled
32 === testCancelFromBeginIOWait ===
33 before await
34 io wait enter
35 bool(true)
36 io wait exit
37 operation was canceled
38 after await