write_control
Description:
Write a byte to the control socket of the controllable this.
This function is mostly useful for timer Poll objects created with Poll.timer.
It will make any current and future wait function return with 1, meaning the control socket is set. After an equal amount of calls to read_control have been performed, calls to wait will block again until their timeout expired.
This function only works for timer Poll objects created with Poll.timer.
Parameters:
this |
a Poll. |
Returns:
|