mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Wake up every 100 ms instead of 500. Add note.
This commit is contained in:
		
							
								
								
									
										3
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								CHANGES
									
									
									
									
									
								
							@@ -2,6 +2,7 @@
 | 
			
		||||
 | 
			
		||||
* New option, display-time, sets the time status line messages stay on screen
 | 
			
		||||
  (unless a key is pressed). Set in milliseconds, default is 750 (0.75 seconds).
 | 
			
		||||
  The timer is only checked every 100 ms or so.
 | 
			
		||||
 | 
			
		||||
19 June 2008
 | 
			
		||||
 | 
			
		||||
@@ -516,4 +517,4 @@
 | 
			
		||||
  (including mutt, emacs). No status bar yet and no key remapping or other
 | 
			
		||||
  customisation.
 | 
			
		||||
 | 
			
		||||
$Id: CHANGES,v 1.129 2008-06-19 23:20:45 nicm Exp $
 | 
			
		||||
$Id: CHANGES,v 1.130 2008-06-19 23:24:40 nicm Exp $
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								server.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								server.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: server.c,v 1.71 2008-06-19 22:04:02 nicm Exp $ */
 | 
			
		||||
/* $Id: server.c,v 1.72 2008-06-19 23:24:40 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -188,7 +188,7 @@ server_main(const char *srv_path, int srv_fd)
 | 
			
		||||
 | 
			
		||||
		/* Do the poll. */
 | 
			
		||||
		log_debug("polling %d fds", nfds);
 | 
			
		||||
		if ((nfds = poll(pfds, nfds, 500)) == -1) {
 | 
			
		||||
		if ((nfds = poll(pfds, nfds, 100)) == -1) {
 | 
			
		||||
			if (errno == EAGAIN || errno == EINTR)
 | 
			
		||||
				continue;
 | 
			
		||||
			fatal("poll failed");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user