]> git.pond.sub.org Git - empserver/commit
Fuse update wait thread and update thread:
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 16 Jan 2007 20:06:27 +0000 (20:06 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 16 Jan 2007 20:06:27 +0000 (20:06 +0000)
commit02584d8a5068e0a93b66a3fa10893c49186037fe
treeef29fd6dfb21ec66a3e1da672f25ab6094832adc
parente7271e0a98fdd175ec0542b5d53db08eedc632d6
Fuse update wait thread and update thread:
(update_main): No longer a thread entry point.  Remove the parameter.
Remove *player setup.  Don't terminate the thread when done.
(update_pending): Move to src/server/update.c.
(update_wait): Call update_main() instead of running it in its own
thread.  Set up *player for it.
(update_init): Create the fused update thread instead of the update
wait thread.
include/server.h
src/lib/update/main.c
src/server/update.c