forked from source-academy/js-slang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use goroutine progress instead of state to determine deadlock (#24)
* feat: track if a goroutine has made progress This is done by keeping track of what is the last instruction that is executed by the goroutine. `progress = prev_instruction !== curr_instruction` * fix: check goroutine progress during deadlock detection
- Loading branch information
1 parent
8fd8dd9
commit f66271e
Showing
2 changed files
with
12 additions
and
6 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