From 024ad413bd20219e92c7642e4c29689886bf96ce Mon Sep 17 00:00:00 2001
From: Steve Vinoski
Date: Fri, 17 Oct 2014 15:50:41 -0400
Subject: Clarify docs for driver_async() return value
The documentation for driver_async() still referred to the return value of
the function as a "handle", which is no longer meaningful since
driver_async_cancel() was deprecated and removed. Modify the documentation
to simply indicate that the driver_async() return value will be -1 if it
fails.
---
erts/doc/src/erl_driver.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/erts/doc/src/erl_driver.xml b/erts/doc/src/erl_driver.xml
index 4a1aab75c7..77fc906aca 100644
--- a/erts/doc/src/erl_driver.xml
+++ b/erts/doc/src/erl_driver.xml
@@ -2033,7 +2033,8 @@ ERL_DRV_MAP int sz
entry function is called. If ready_async is null in
the driver entry, the async_free function is called
instead.
- The return value is a handle to the asynchronous task.
+ The return value is -1 if the driver_async call
+ fails.
As of erts version 5.5.4.3 the default stack size for
threads in the async-thread pool is 16 kilowords,
--
cgit v1.2.3