From ac9ebc29a26c1e7c19e1c9a58fef42bfc75d2100 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 9 Mar 2012 09:57:40 +0000 Subject: Use a lock file and flock() to serialize server start, avoids problems when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 6503d886..3b60a983 100644 --- a/tmux.h +++ b/tmux.h @@ -1687,7 +1687,7 @@ const char *key_string_lookup_key(int); extern struct clients clients; extern struct clients dead_clients; extern struct paste_stack global_buffers; -int server_start(void); +int server_start(int, char *); void server_update_socket(void); /* server-client.c */ -- cgit