From ad6e765bcd4f35a282ef00e38ed9129f3a5c1d83 Mon Sep 17 00:00:00 2001
From: Hans Bolinder As from As from ERTS 5.5.3 the driver interface has been extended
(see As from As from ERTS 5.9 old drivers must be recompiled
and use the extended interface. They must also be adjusted to the
ERTS 5.9 introduced two new integer types,
The following is a checklist for rewriting a pre
The following is a checklist for rewriting a pre ERTS 5.9 driver, most important first:
Notice that as a driver binary is shared by the driver and the emulator. A binary received from the emulator or sent to the emulator must not be changed by the driver.
-Since
Since ERTS 5.5 (Erlang/OTP R11B),
The return value is
As from
As from ERTS 5.5.4.3 the default stack size for threads in the async-thread pool is 16 kilowords, that is, 64 kilobyte on 32-bit architectures. This small default size has been chosen because the @@ -2534,11 +2534,11 @@ ERL_DRV_MAP int sz
The unsigned integer data type
The unsigned integer data type
To build the tuple
ERL_DRV_BINARY and the ErlDrvBinary in question.
The ERL_DRV_UINT , ERL_DRV_BUF2BINARY , and
ERL_DRV_EXT2TERM term types were introduced in
- ERTS 5.6.
+ ERTS 5.6.
This function is only thread-safe when the emulator with SMP
support is used.
@@ -3213,7 +3213,7 @@ erl_drv_output_term(driver_mk_port(drvport), spec, sizeof(spec) / sizeof(spec[0]
See Also
driver_entry(3) ,
erlang(3) ,
- kernel:erl_ddll(3) ,
+ erl_ddll(3) ,
section How to Implement an Alternative
Carrier for the Erlang Distribution> in the User's Guide
--
cgit v1.2.3