AwaitAllWaitHandle
commitc367d39fd62717a8e1f04f636a640a9fd447b235
authorbill fumerola <bill@fb.com>
Tue, 24 Jun 2014 23:57:34 +0000 (24 16:57 -0700)
committerfacebook-github-bot <githubbot@fb.com>
Fri, 25 Jul 2014 02:00:17 +0000 (24 19:00 -0700)
treeb19d3201e0ac504801ea4bcc8be067b840454462
parent0dc6a7e3e7dc1e17b60c06e0492e70eb4fb016c9
AwaitAllWaitHandle

Summary: AwaitAllWaitHandle waits on a collection of WaitHandles and returns when they've all been completed. it is a WaitHandle<void> and the caller must obtain results from the children waithandles.

Reviewed By: @jano

Differential Revision: D1399487
15 files changed:
hphp/hack/hhi/classes.hhi
hphp/runtime/base/mixed-array.h
hphp/runtime/base/proxy-array.h
hphp/runtime/ext/asio/asio_blockable.cpp
hphp/runtime/ext/asio/asio_session.cpp
hphp/runtime/ext/asio/asio_session.h
hphp/runtime/ext/asio/await_all_wait_handle.cpp [new file with mode: 0644]
hphp/runtime/ext/asio/await_all_wait_handle.h [new file with mode: 0644]
hphp/runtime/ext/asio/wait_handle.h
hphp/runtime/ext/asio/waitable_wait_handle.cpp
hphp/runtime/ext/ext_asio.h
hphp/runtime/ext/ext_collections.h
hphp/system/idl/asio.idl.json
hphp/test/slow/async/awaitall.php [new file with mode: 0644]
hphp/test/slow/async/awaitall.php.expectf [new file with mode: 0644]