Support for EPOLLPRI
authorAravind Anbudurai <aru7@fb.com>
Thu, 18 Aug 2016 20:48:15 +0000 (13:48 -0700)
committerFacebook Github Bot 7 <facebook-github-bot-7-bot@fb.com>
Thu, 18 Aug 2016 20:53:29 +0000 (13:53 -0700)
commit2714e5b653644da6278875d92ab1caca16ee825c
tree4a8b98dac4a95691a1acbbf42b2f9735a9efe352
parent96e8ac5bc5d633325e85cbc1d87136ba1ce68120
Support for EPOLLPRI

Summary:
Depends on D3718573 and the other diff to sync tp2 on fbcode after D3718573
lands.

This adds the PRI flag for using on EPOLLPRI events. The test makes a
server/client and client a MSG_OOB message to make it appear as a priority
event.

Masked under a preprocessor directive until libevent upstreams the patch that I
will send for 2.0

Reviewed By: djwatson

Differential Revision: D3722009

fbshipit-source-id: c15233d4739a38092d11c3026c483c7a9c8e5dac
folly/io/async/EventHandler.h
folly/io/async/test/EventHandlerTest.cpp