<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 17, 2014 at 2:49 PM, Steve Vinoski <span dir="ltr"><<a href="mailto:vinoski@ieee.org" target="_blank">vinoski@ieee.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Oct 17, 2014 at 1:58 PM, Alexey Romanov <span dir="ltr"><<a href="mailto:alexey.v.romanov@gmail.com" target="_blank">alexey.v.romanov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Documentation for driver_async says it returns a handle to the 
asynchronous task. However, I can't find any other mentions of these 
handles in erl_driver or driver_entry docs. What can/should this value 
be used for? Or should it be ignored?</div></blockquote><div><br></div></span><div>There was an old function driver_async_cancel() for canceling async jobs that took the handle as an argument, but it was deprecated a long time ago and it's since been removed. So, you can just ignore the handle. I'll see if I can patch the docs to clarify this.</div></div></div></div></blockquote><div><br></div><div>Correction: you should check the returned handle to make sure it's not less than zero, as negative handle values indicate that an error occurred. But if it's not less than zero, then you can ignore it.</div><div><br></div><div>--steve</div></div></div></div>