Skip to content

Conversation

@brodeuralexis
Copy link
Contributor

In line with fine::Mutex and fine::SharedMutex, this commit adds a wrapper, fine::ConditionVariable for ErlNifCond with an API similar if not identifical to std::condition_variable.

In line with `fine::Mutex` and `fine::SharedMutex`, this commit adds a
wrapper, `fine::ConditionVariable` for `ErlNifCond` with an API similar
if not identifical to `std::condition_variable`.
While the function shouldn't be used, deprecation is not an apt choice
to indicate that it should not be used.  The deprecation notice is
replaced with a prominent warning in the function's documentation.
Copy link
Member

@jonatanklosko jonatanklosko left a comment

Choose a reason for hiding this comment

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

Perfect :)

@jonatanklosko jonatanklosko merged commit a1be2f8 into elixir-nx:main Oct 7, 2025
7 checks passed
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