(update_lock, play_lock, update_pending, play_wrlock_wanted): Move to

main.c and rename to better reflect their purpose.  Fix misleading
comments.
This commit is contained in:
Markus Armbruster 2007-07-20 19:09:34 +00:00
parent d4150cc2ee
commit a9afd1efef
5 changed files with 31 additions and 29 deletions

View file

@ -36,11 +36,12 @@
#include "empthread.h"
extern int shutdown_pending;
extern int update_pending;
extern int update_running;
extern empth_rwlock_t *update_lock;
#define UPDATE_TIME_LEN 16
extern int shutdown_pending;
extern empth_rwlock_t *play_lock;
extern int play_wrlock_wanted;
extern int update_running;
extern time_t update_time[UPDATE_TIME_LEN];
void market_init(void);