kugel- commented on this pull request.
> @@ -967,6 +999,23 @@ static gboolean spawn_read_cb(GIOChannel *channel,
> GIOCondition condition, gpoin
sc->cb.read(buffer, input_cond | failure_cond, sc->cb_data);
}
+ /* Check for continuous activations with G_IO_IN | G_IO_PRI, without any
+ data to read and without errors. If detected, switch to timeout
source. */
+ else if (sc->empty_gio_ins < MAX_EMPTY_GIO_INS && status ==
G_IO_STATUS_AGAIN)
How do you know here that there was no data to read?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1461#pullrequestreview-33679859