From 9bee476eabb5034a27e994008a12ef684755d76c Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Mon, 12 Jul 2010 08:13:08 +0000 Subject: cli: move readline to separate thread move readline handling to a synchronous input thread to avoid deadlocks with poll loop Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- cli/src/cli.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index a53b6a9e1e5..808e9236024 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -85,6 +85,7 @@ struct cli_state { /* terminal I/O */ const char *prompt; int rl_enabled; + int rl_async; int rl_processing; /* autocompletion state */ -- cgit