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 | f3704e65537f0e86b9bcfbe998e6a82a1a59e611 (patch) | |
tree | 31798999e662e16af5819c7b54dada0e60c61183 /LEGACY | |
parent | 9c04eb529f8ec7d10305f929e69e11649a38687d (diff) | |
download | st-f3704e65537f0e86b9bcfbe998e6a82a1a59e611.tar.gz st-f3704e65537f0e86b9bcfbe998e6a82a1a59e611.tar.bz2 |
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 'LEGACY')
0 files changed, 0 insertions, 0 deletions