Source.modifyUnixFd
void modifyUnixFd(void * tag, glib.types.IOCondition newEvents)Updates the event mask to watch for the fd identified by tag.
tag is the tag returned from glib.source.Source.addUnixFd.
If you want to remove a fd, don't set its event mask to zero. Instead, call glib.source.Source.removeUnixFd.
This API is only intended to be used by implementations of #GSource. Do not call this API on a #GSource that you did not create.
As the name suggests, this function is not available on Windows.
Parameters
tag | the tag from glib.source.Source.addUnixFd |
newEvents | the new event mask to watch |