Skip to content

Conversation

@eregon
Copy link
Collaborator

@eregon eregon commented Dec 7, 2023

  • Both classes are internal.
  • It's quite complicated and not really used anymore,
    except on TruffleRuby <= 21.1 which is very old.
    We can use SynchronizedMapBackend there instead.
  • It's the only user of CheapLockable and that looks quite unsafe,
    for example #cheap_wait does not account for spurious wakeups.

* Both classes are internal.
* It's quite complicated and not really used anymore,
  except on TruffleRuby <= 21.1 which is very old.
  We can use SynchronizedMapBackend there instead.
* It's the only user of CheapLockable and that looks quite unsafe,
  for example #cheap_wait does not account for spurious wakeups.
@eregon eregon merged commit 92b861c into ruby-concurrency:master Dec 7, 2023
@eregon eregon deleted the misc-cleanups branch December 7, 2023 14: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.

1 participant