diff options
author | rodri <rgl@antares-labs.eu> | 2021-07-27 13:55:18 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2021-07-27 13:55:18 +0000 |
commit | d85705bf67be2a23e3d928f9670732be5484f958 (patch) | |
tree | 58a79239d89c1e47ead9bfa8112c53027a80f8c2 /muswd.c | |
parent | 97ec1b6d99fa48e46d9ba15ddbf434df2008dfdb (diff) | |
download | musw-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.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |