Skip to content

[Task-to-Thread] Make sure to explicitly initialize the drainLock in DefaultActorImpl::initialize #62716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

rokhinip
Copy link
Contributor

[Task-to-Thread] Make sure to explicitly initialize the drainLock in DefaultActorImpl::initialize

Radar-Id: rdar://problem/103426321

DefaultActorImpl::initialize or we could end up waiting on a garbage
lock value

Radar-Id: rdar://problem/103426321
@rokhinip
Copy link
Contributor Author

@swift-ci please test

@rokhinip
Copy link
Contributor Author

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

@kubamracek kubamracek requested a review from al45tair December 21, 2022 04:23
@rokhinip rokhinip merged commit 28493d0 into main Dec 21, 2022
@rokhinip rokhinip deleted the eng/PR-103426321-mutex-initialization branch December 21, 2022 17:15
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.

3 participants