(update_running): New.
(update_run): Set it. Replace incorrect uses of update_pending by update_running, fixing buggy behavior while the update was trying to gain control: (sct_do_upd_mob, shp_do_upd_mob, lnd_do_upd_mob, pln_do_upd_mob): MOB_ACCESS mobility update was skipped. (telegram_is_new): Fix recognition of new telegrams by timestamp. (wu): Bulletins got misfiled as production reports. (shp_nav): Sail path got ignored. (setrel): Declaration of war failed silently with SLOW_WAR enabled. Messages got suppressed. (PR, mpr): Messages got misdirected to bulletins.
This commit is contained in:
parent
c1a0a42024
commit
e9cfbdc241
7 changed files with 33 additions and 14 deletions
|
@ -38,6 +38,7 @@
|
|||
|
||||
extern int shutdown_pending;
|
||||
extern int update_pending;
|
||||
extern int update_running;
|
||||
extern empth_rwlock_t *update_lock;
|
||||
extern time_t update_time[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue