read_control


Description:

public bool read_control ()

Read a byte from the control socket of the controllable this.

This function only works for timer Poll objects created with Poll.timer.

Parameters:

this

a Poll.

Returns:

true on success. false when when there was no byte to read or reading the byte failed. If there was no byte to read, and only then, errno will contain EWOULDBLOCK or EAGAIN. For all other values of errno this always signals a critical error.