This repository has been archived by the owner on May 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[smt] fixed hang in threads waiting mechanism
Old mechanism used pthread_cond_timedwait()/pthread_cond_signal() to wait till end of all threads executions. pthread_cond_signal() issued only once at the end of each thread execution but the signal has no effect if the main thread is not blocked on corresponding pthread_cond_timedwait. As a result smt could hang in the infinite loop.
- Loading branch information
Vitaliy Ilichev
authored and
Oleg Nabiullin
committed
Nov 14, 2018
1 parent
07832b8
commit 8945928
Showing
4 changed files
with
122 additions
and
125 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
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
Oops, something went wrong.