aboutsummaryrefslogtreecommitdiff
path: root/muswd.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2021-07-27 13:55:18 +0000
committerrodri <rgl@antares-labs.eu>2021-07-27 13:55:18 +0000
commitd85705bf67be2a23e3d928f9670732be5484f958 (patch)
tree58a79239d89c1e47ead9bfa8112c53027a80f8c2 /muswd.c
parent97ec1b6d99fa48e46d9ba15ddbf434df2008dfdb (diff)
downloadmusw-d85705bf67be2a23e3d928f9670732be5484f958.tar.gz
musw-d85705bf67be2a23e3d928f9670732be5484f958.tar.bz2
musw-d85705bf67be2a23e3d928f9670732be5484f958.zip
first stages of a full-featured client.
Diffstat (limited to 'muswd.c')
-rw-r--r--muswd.c6
1 files changed, 4 insertions, 2 deletions
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);