summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-07-12 08:13:08 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-12 06:59:25 -0700
commit9bee476eabb5034a27e994008a12ef684755d76c (patch)
treeec3dcb8be8f1f2c8f95e2e97ee9f7103473d3866 /cli/src/cli.h
parentce8cee660a5cda88ea58e362be01e50cbccfff27 (diff)
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 <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h1
1 files changed, 1 insertions, 0 deletions
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 */