You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Erlang 17.3 introduced a new way for NIFs to yield back to the scheduler. I'm not sure how easy it would be to integrate this into the NIF generator.
It would probably be fully doable somehow. I haven't yet had a very close look at the changes in 17.3, but generally, I think it is probably fully doable in some way or another.
Hi, I did a quick attempt at it on the branch nif-on-dirty-scheduler if you would like to try it out. It might perhaps not work on 17.0 (or other pre-17.3 versions).
Hi, I've merged the nif-on-dirty-scheduler branch into master 3.15.0, it should use a dirty cpu-bound scheduler if there is support (17.3 configured with --enable-dirty-schedulers)
Hi,
Erlang 17.3 introduced a new way for NIFs to yield back to the scheduler. I'm not sure how easy it would be to integrate this into the NIF generator.
Here's an example project using the new API:
The text was updated successfully, but these errors were encountered: