From 056e581485b38a430aa7cb2b659d0c2c9b80742a Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 20 Aug 2013 07:24:51 +0000 Subject: [PATCH] Add thread name for the ANSI key thread. --- src/conio/ansi_cio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conio/ansi_cio.c b/src/conio/ansi_cio.c index 76b89d81fe..ad11e2e380 100644 --- a/src/conio/ansi_cio.c +++ b/src/conio/ansi_cio.c @@ -639,8 +639,8 @@ static void ansi_keyparse(void *par) int timedout=0; int unknown=0; - seq[0]=0; SetThreadName("ANSI Keyparse"); + seq[0]=0; for(;;) { if(ansi_got_row) sem_wait(&goahead); @@ -809,6 +809,7 @@ static void ansi_keythread(void *params) { int sval=1; + SetThreadName("ANSI Key"); _beginthread(ansi_keyparse,1024,NULL); for(;;) { -- GitLab