Rename play_lock back to update_lock
It was renamed to play_lock because it synchronized not just updates but also shutdown. Since the previous commit, it again only synchronizes updates. Rename it back. Also move its initialization next to shutdown_lock's.
This commit is contained in:
parent
49ae6a7b9d
commit
2503e41bd2
4 changed files with 9 additions and 12 deletions
|
@ -38,7 +38,7 @@
|
|||
#define UPDATE_TIME_LEN 16
|
||||
|
||||
extern int shutdown_pending;
|
||||
extern empth_rwlock_t *play_lock;
|
||||
extern empth_rwlock_t *update_lock;
|
||||
extern empth_rwlock_t *shutdown_lock;
|
||||
extern int update_running;
|
||||
extern time_t update_time[UPDATE_TIME_LEN];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue