Deal with enif_consume_timeslice
zacky1972 opened this issue · 1 comments
zacky1972 commented
Is your feature request related to a problem? Please describe.
Current Pelemay doesn't deal with enif_consume_timeslice
, so I guess it and it with PelemayFp may have less performance than PelemayFp alone.
Describe the solution you'd like
Pelemay should deal with enif_consume_timeslice
according to this article: https://rhye.org/post/native-scheduling-erlang/
Describe alternatives you've considered
Another option is to use asynchronous NIFs: https://qiita.com/zacky1972/items/0dd765a0895f19f5848f
Additional context
None.
zacky1972 commented
Another option is to implement and use EPC: https://erlef.org/wg/epc