Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Add Semaphores to fix TSAN warnings#108

Merged
gtaban merged 3 commits intoswift-server:developfrom
carlbrown:forPRforTSAN
Jan 8, 2018
Merged

Add Semaphores to fix TSAN warnings#108
gtaban merged 3 commits intoswift-server:developfrom
carlbrown:forPRforTSAN

Conversation

@carlbrown
Copy link
Copy Markdown
Contributor

I'm going ahead and putting this PR in (as a result of this request from Daniel Dunbar on the mailing list) while the linux-specific tests for #96 tests are still being worked on.

Semaphores to track if abort() has been called

Semaphores to track if cleanup() has been called and only let it get called once
@carlbrown carlbrown requested a review from gtaban January 3, 2018 21:23
Copy link
Copy Markdown
Collaborator

@gtaban gtaban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed with Carl and he made appropriate updates. All looks good!

@gtaban gtaban merged commit b5001e4 into swift-server:develop Jan 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants