Re: [dev] [st] Removing timeouts in main loop

From: <>
Date: Sun, 16 Sep 2012 11:42:14 +0200

* Roberto E. Vargas Caballero <> [2012-09-16 09:48]:
> The main loop waits until there is some data to read in file descriptors of
> the X server or the pseudo tty. But it uses a timeout in select(), which
> causes that st awake each 20 ms, even it doesn't have something to do. This
> patch removes this problem removing the timeout, which is not needed.

I think this was supposed to make st faster, since it doesn't need to
draw things you'll never be able to read, i.e. anything faster than

Received on Sun Sep 16 2012 - 11:42:14 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 16 2012 - 11:48:03 CEST