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 try-lock-yield in asynchronous methods #49

Closed
3 tasks done
wvwwvwwv opened this issue Sep 2, 2021 · 0 comments
Closed
3 tasks done

Remove try-lock-yield in asynchronous methods #49

wvwwvwwv opened this issue Sep 2, 2021 · 0 comments
Milestone

Comments

@wvwwvwwv
Copy link
Owner

wvwwvwwv commented Sep 2, 2021

Avoid spinning under any circumstances.

  • Remove thread::yield: SCC 0.6.9.
  • Remove async_yield from HashMap, HashIndex, and HashSet: SCC 0.6.11.
  • Remove async_yield from TreeIndex.
@wvwwvwwv wvwwvwwv added this to the SCC 0.6.0 milestone Sep 2, 2021
@wvwwvwwv wvwwvwwv modified the milestones: SCC 0.6.0, SCC 1.0.0 Apr 3, 2022
@wvwwvwwv wvwwvwwv changed the title TreeIndex: remove spin mutex Asynchronous API: remove spin mutex Apr 9, 2022
@wvwwvwwv wvwwvwwv changed the title Asynchronous API: remove spin mutex Asynchronous API and TreeIndex: remove spin mutex Apr 9, 2022
wvwwvwwv added a commit that referenced this issue Apr 11, 2022
replace several places where an operation is retried is replaced with
forget-expecting that the lock owner would cleanup things.
@wvwwvwwv wvwwvwwv modified the milestones: SCC 1.0.0, SCC 0.7.0 Apr 15, 2022
wvwwvwwv added a commit that referenced this issue Apr 24, 2022
wvwwvwwv added a commit that referenced this issue Apr 26, 2022
wvwwvwwv added a commit that referenced this issue Apr 27, 2022
@wvwwvwwv wvwwvwwv changed the title Asynchronous API and TreeIndex: remove spin mutex Remove try-lock-yield in asynchronous methods May 1, 2022
wvwwvwwv added a commit that referenced this issue May 9, 2022
wvwwvwwv added a commit that referenced this issue May 10, 2022
the functionality is the same as before since AsyncWait is incomplete.
wvwwvwwv added a commit that referenced this issue May 11, 2022
wvwwvwwv added a commit that referenced this issue May 12, 2022
wvwwvwwv added a commit that referenced this issue May 12, 2022
… wait for async methods (#75)

hashmap, hashset, and hashindex asynchronous methods never spin.
wvwwvwwv added a commit that referenced this issue May 12, 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

No branches or pull requests

1 participant