Poll.readControl

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

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

class Poll
bool
readControl
()

Return Value

Type: bool

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.