Skip to content
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

Remove Redundant Atomic Store from Recursive Unfair Lock in Recursive Case #trivial #867

Merged
merged 2 commits into from
Apr 4, 2018

Conversation

Adlai-Holler
Copy link
Member

In the recursive case (lock while locked,) we previously still stored self as the current thread, which was redundant. This removes that operation and also simplifies the locking code.

@Adlai-Holler Adlai-Holler merged commit e748d05 into master Apr 4, 2018
@Adlai-Holler Adlai-Holler deleted the AHFasterUnfairLock branch April 4, 2018 17:49
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
… Case #trivial (TextureGroup#867)

* Optimize recursive unfair lock to remove a redundant set

* Simpler
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.

None yet

2 participants