-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix usage of pthread_cond_timedwait (#491)
* fix usage of pthread_cond_timedwait pthread_cond_timedwait has to be called with a locked mutex using an unlocked mutex is undefined behaviour although it works on many platforms Signed-off-by: Alexander Mohr <[email protected]> Signed-off-by: Alexander Mohr <[email protected]> * startup: check housekeeper thread every 500ms this commit makes sure that we do not wait for up to 10s if we missed the signal for the condition variable the first time Signed-off-by: Alexander Mohr <[email protected]> * Remove unneccesary mutex log --------- Signed-off-by: Alexander Mohr <[email protected]> Co-authored-by: Alexander Mohr <[email protected]> Co-authored-by: michael-methner <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters