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

V0.12.0.x implement WaitForLock/WaitForLock2 #489

Closed
wants to merge 1 commit into from
Closed

V0.12.0.x implement WaitForLock/WaitForLock2 #489

wants to merge 1 commit into from

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Aug 7, 2015

Idea is pretty simple: try to wait for lock if you need it but can't acquire it right now. Solution however is not very elegant, I know... But anyway, this seems to work for me until now: 5h mixing, no locks or new issues so far.

Testing wanted!

Notes:

  • currently covers most common locks only - cs_main, cs_wallet, cs_vNodes
  • some TRY_LOCK-s are not covered intentionally - they are ok to fail
  • reverts 171c0b1 and c7077dc
  • drops TRY_LOCK for updateMnTimer() - not sure how it got there, could be old copy/paste...

@UdjinM6 UdjinM6 added this to the 12.0 milestone Aug 7, 2015
@UdjinM6
Copy link
Author

UdjinM6 commented Aug 7, 2015

naahhh, hangs again... closing

@UdjinM6 UdjinM6 closed this Aug 7, 2015
@UdjinM6 UdjinM6 removed this from the 12.0 milestone Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant