diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-16 10:47:21 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-16 10:47:21 +0200 |
commit | 85849ce72aa4e9cee307a031b97777e9eba2d453 (patch) | |
tree | 31798999e662e16af5819c7b54dada0e60c61183 /README | |
parent | 15cc8754c2e272ebac6e86845859816e881da000 (diff) | |
download | st-85849ce72aa4e9cee307a031b97777e9eba2d453.tar.gz |
Remove timeout in the main loop
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.
---
TODO | 1 -
st.c | 27 +++------------------------
2 files changed, 3 insertions(+), 25 deletions(-)
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions