Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
service: fix the mutex deadlock at shutdown in service_saver() thread…
… fcn
  • Loading branch information
perexg committed Sep 13, 2014
1 parent a77b65a commit 0ac8cdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/service.c
Expand Up @@ -1313,6 +1313,8 @@ service_saver(void *aux)
pthread_mutex_unlock(&global_lock);
pthread_mutex_lock(&pending_save_mutex);
}

pthread_mutex_unlock(&pending_save_mutex);
return NULL;
}

Expand Down

0 comments on commit 0ac8cdc

Please sign in to comment.