MINOR: fd: Add fd_update_events function

This function should be called by the poller to set FD_POLL_* flags on an FD and
update its state if needed. This function has been added to ease threads support
integration.
1 file changed