Sync OpenBSD patchset 509:

Now all timers are events, there is no longer any need to wake up every 50 ms -
only wake up when an event happens.
This commit is contained in:
Tiago Cunha
2009-11-08 23:27:58 +00:00
parent 66957412d5
commit 5ac6ea61bd
2 changed files with 3 additions and 11 deletions

5
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.508 2009-11-08 23:26:56 tcunha Exp $ */
/* $Id: tmux.h,v 1.509 2009-11-08 23:27:58 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -61,9 +61,6 @@ extern char **environ;
/* Escape timer period, in milliseconds. */
#define ESCAPE_PERIOD 500
/* Maximum poll timeout (when attached). */
#define POLL_TIMEOUT 50
/* Maximum data to buffer for output before suspending reading from panes. */
#define BACKOFF_THRESHOLD 1024