Add missing mutex initialization
This commit is contained in:
parent
0426d3ace0
commit
35ae813dc8
1 changed files with 1 additions and 0 deletions
|
@ -909,6 +909,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
pthread_mutex_init(&time_lock, NULL);
|
pthread_mutex_init(&time_lock, NULL);
|
||||||
pthread_mutex_init(&stats_lock, NULL);
|
pthread_mutex_init(&stats_lock, NULL);
|
||||||
|
pthread_mutex_init(&g_work_lock, NULL);
|
||||||
|
|
||||||
if (!rpc_userpass) {
|
if (!rpc_userpass) {
|
||||||
if (!rpc_user || !rpc_pass) {
|
if (!rpc_user || !rpc_pass) {
|
||||||
|
|
Loading…
Reference in a new issue