AsyncIO::cancel
authorPhilip Pronin <philipp@fb.com>
Thu, 11 May 2017 19:51:11 +0000 (12:51 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 11 May 2017 20:07:37 +0000 (13:07 -0700)
commitc8aadaad37770dc4d1caf2bff239c604b51a6132
tree7b09fe8a9cb58771162ab48a02d6da5c88fcdde6
parente17fce322760eddc0d598a2044cfd639894d75be
AsyncIO::cancel

Summary:
It should be implemented with `io_cancel`, but it is not
supported (D682836), so still have to drain events, ignoring only
op callbacks.

Reviewed By: luciang, ot

Differential Revision: D5044020

fbshipit-source-id: 0bcd04c91a437fccaf2189ccf771a1cb61c68942
folly/experimental/io/AsyncIO.cpp
folly/experimental/io/AsyncIO.h
folly/experimental/io/test/AsyncIOTest.cpp