aboutsummaryrefslogtreecommitdiff
path: root/muswd.c
diff options
context:
space:
mode:
Diffstat (limited to 'muswd.c')
-rw-r--r--muswd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/muswd.c b/muswd.c
index a61595c..282fea7 100644
--- a/muswd.c
+++ b/muswd.c
@@ -330,7 +330,7 @@ broadcaststate(void)
}
void
-threadsim(void *)
+runsim(void)
{
int i;
ulong kdown;
@@ -536,6 +536,5 @@ threadmain(int argc, char *argv[])
threadcreate(threadnetrecv, &adfd, mainstacksize);
threadcreate(threadnetppu, nil, mainstacksize);
threadcreate(threadnetsend, &adfd, mainstacksize);
- threadcreate(threadsim, nil, mainstacksize);
- yield();
+ runsim();
}