mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
race condition fixed on configuration reload
Race condition on service free'ing
This commit is contained in:
1 parent
0e4a507dd8
commit
62775da1d5
3 files changed
+124
-121
No files matched your search
@@ -246,6 +246,7 @@ unsigned long udpresolve(int af, unsigned char * name, unsigned char * value, un
|
||||
|
||||
struct ace * copyacl (struct ace *ac);
|
||||
struct auth * copyauth (struct auth *);
|
||||
void * itfree(void *data, void * retval);
|
||||
void freeacl(struct ace *ac);
|
||||
void freeauth(struct auth *);
|
||||
void freefilter(struct filter *filter);
|
||||
@@ -308,6 +309,7 @@ struct dictionary;
|
||||
struct node;
|
||||
struct property;
|
||||
|
||||
extern pthread_mutex_t config_mutex;
|
||||
extern pthread_mutex_t bandlim_mutex;
|
||||
extern pthread_mutex_t hash_mutex;
|
||||
extern pthread_mutex_t tc_mutex;
|
||||
|
||||
Reference in new issue
Block a user