]> git.pond.sub.org Git - empserver/commit - src/lib/lwp/sel.c
LWP failed to wake up threads sleeping in empth_sleep() while other
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 20 Jul 2007 18:12:03 +0000 (18:12 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 20 Jul 2007 18:12:03 +0000 (18:12 +0000)
commitd4150cc2ee2647fd540605526ff20071caca3360
treefa46f8238c4bc99015d890aeb80d576bfdc3b378
parent228a545ff3e02fa90ff353337fc90f6b0d7dcba1
LWP failed to wake up threads sleeping in empth_sleep() while other
threads were runnable.  This let players with a sufficiently fast
connection starve out system threads, including the update.  Fix:
[EMPTH_LWP] (lwpWakeupSleep): External linkage.
[EMPTH_LWP] (lwpReschedule): Call it.
src/lib/lwp/lwp.c
src/lib/lwp/lwpint.h
src/lib/lwp/sel.c