Poll.writeControl

Write a byte to the control socket of the controllable set. This function is mostly useful for timer gstreamer.Poll objects created with Poll.newTimer.

It will make any current and future Poll.wait function return with 1, meaning the control socket is set. After an equal amount of calls to Poll.readControl have been performed, calls to Poll.wait will block again until their timeout expired.

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

class Poll
bool
writeControl
()

Return Value

Type: bool

TRUE on success. FALSE when when the byte could not be written. errno contains the detailed error code but will never be EAGAIN, EINTR or EWOULDBLOCK. FALSE always signals a critical error.