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.
This commit is contained in:
parent
e7271e0a98
commit
02584d8a50
3 changed files with 20 additions and 39 deletions
|
@ -50,7 +50,7 @@ void delete_lostitems(void *);
|
|||
void market_update(void *);
|
||||
void mobility_check(void *);
|
||||
void player_kill_idle(void *);
|
||||
void update_main(void *);
|
||||
void update_main(void);
|
||||
void update_init(void);
|
||||
void shutdown_sequence(void *);
|
||||
void update_force(void *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue