[erlang-questions] erl_driver: is char *buf from control safe?

Max Lapshin max.lapshin@REDACTED
Wed Sep 10 07:01:16 CEST 2014


https://github.com/erlang/otp/blob/maint/erts/emulator/test/driver_SUITE_data/queue_drv.c#L189

So, API here does not 100% guarantee that I will get the same binary, but
promise that perhaps will?




Well, I tried the third option: nif with separate thread per each nif.
It works, need to check it on production.


Thank you again for help.


Steve: if you want to see at stuck VM with dirty nifs, write me an private
email, please, I'll give you access.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140910/c9c4b52f/attachment.htm>


More information about the erlang-questions mailing list