<div dir="ltr"><div class="gmail_extra"><a href="https://github.com/erlang/otp/blob/maint/erts/emulator/test/driver_SUITE_data/queue_drv.c#L189">https://github.com/erlang/otp/blob/maint/erts/emulator/test/driver_SUITE_data/queue_drv.c#L189</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">So, API here does not 100% guarantee that I will get the same binary, but promise that perhaps will?</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Well, I tried the third option: nif with separate thread per each nif.  </div><div class="gmail_extra">It works, need to check it on production.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thank you again for help.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Steve: if you want to see at stuck VM with dirty nifs, write me an private email, please, I'll give you access.</div></div>