From d85705bf67be2a23e3d928f9670732be5484f958 Mon Sep 17 00:00:00 2001 From: rodri Date: Tue, 27 Jul 2021 13:55:18 +0000 Subject: first stages of a full-featured client. --- muswd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'muswd.c') diff --git a/muswd.c b/muswd.c index b7cbbbd..cf0009e 100644 --- a/muswd.c +++ b/muswd.c @@ -169,8 +169,10 @@ fprintstate(int fd) state.x, state.v); } + +/* Command & Control */ void -threadctl(void *) +threadC2(void *) { int fd, pfd[2], n, ncmdargs; char buf[256], *usr, *cmdargs[2]; @@ -243,7 +245,7 @@ threadmain(int argc, char *argv[]) lobby = newlobby(); inittheparty(); - threadcreate(threadctl, nil, 4096); + threadcreate(threadC2, nil, 4096); threadcreate(threadlisten, adir, 4096); threadcreate(threadsim, nil, 4096); threadexits(nil); -- cgit v1.2.3