Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Lock the mutex around the condvar destruction#8703

Merged
bjacob merged 1 commit into
iree-org:mainfrom
bjacob:race-in-iree_notification_deinitialize
Mar 31, 2022
Merged

Lock the mutex around the condvar destruction#8703
bjacob merged 1 commit into
iree-org:mainfrom
bjacob:race-in-iree_notification_deinitialize

Conversation

@bjacob
Copy link
Copy Markdown
Collaborator

@bjacob bjacob commented Mar 31, 2022

This fixes a race condition reported by TSan, TSan report

I was hoping that this would be what @ScottTodd had observed as an intermittent failure on CI.... but Ben points out that as I'm running with TSan, this line implies that I'm on a non-default (non-futex) path, so not was CI is running 🙁

@bjacob bjacob requested a review from benvanik as a code owner March 31, 2022 03:05
@bjacob bjacob enabled auto-merge (squash) March 31, 2022 03:08
@benvanik benvanik changed the title lock the mutex around the condvar destruction Lock the mutex around the condvar destruction Mar 31, 2022
@bjacob bjacob merged commit 0b881a1 into iree-org:main Mar 31, 2022
@bjacob bjacob added the TSan label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants