Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add mutual exclusion locks for cancelable select
In a couple of occurences, tests with enabled race detector exposed some concurrent accesses to the cancelation callback used in select and channel operations send and recv for EvalWithContext. This change ensure that all accesses to this object are protected by mutex. Fixes #815.
- Loading branch information
Showing
1 changed file
with
33 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