Skip to content

toggle for NonBlockingHashMap#11

Draft
rnewson wants to merge 1 commit intomainfrom
nbhm-toggle
Draft

toggle for NonBlockingHashMap#11
rnewson wants to merge 1 commit intomainfrom
nbhm-toggle

Conversation

@rnewson
Copy link
Copy Markdown
Contributor

@rnewson rnewson commented Dec 3, 2024

No description provided.

Comment thread src/main/scala/scalang/Node.scala Outdated
val monitor = p.registerMonitor(monitoring, ref)
if (!isLocal(monitored))
monitors.getOrElseUpdate(channel, new NonBlockingHashSet[Monitor]).add(monitor)
monitors.getOrElseUpdate(channel, ErlangNode.newConcurrentSet[Monitor](config))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Wouldn't you need .add(monitor) here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yup. oops

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.

2 participants