diff options
author | Steve Vinoski <[email protected]> | 2014-01-15 10:13:11 -0500 |
---|---|---|
committer | Steve Vinoski <[email protected]> | 2014-01-15 13:50:24 -0500 |
commit | 8ff33cff02d01b2b4f20769cbd77c5ef23b01631 (patch) | |
tree | 39588f228aecef37f261b3a0d634fdd1549be6fb /erts/emulator/beam/erl_driver.h | |
parent | af583b6a455d64153dc4c92d8f250c2340418e9f (diff) | |
download | otp-8ff33cff02d01b2b4f20769cbd77c5ef23b01631.tar.gz otp-8ff33cff02d01b2b4f20769cbd77c5ef23b01631.tar.bz2 otp-8ff33cff02d01b2b4f20769cbd77c5ef23b01631.zip |
remove deprecated driver_async_cancel function
Some time ago the driver_async_cancel function was deprecated and slated
for removal in R17. This commit removes the function along with its
associated tests and documentation, sets the
ERL_DRV_EXTENDED_MAJOR_VERSION to 3 and ERL_DRV_EXTENDED_MINOR_VERSION to
0, and modifies the sys_info_base_drv and sys_info_prev_drv tests in the
driver test suite to check version 3.0 instead of 2.0.
Diffstat (limited to 'erts/emulator/beam/erl_driver.h')
-rw-r--r-- | erts/emulator/beam/erl_driver.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h index 5cffae92be..2bd3181bdc 100644 --- a/erts/emulator/beam/erl_driver.h +++ b/erts/emulator/beam/erl_driver.h @@ -132,8 +132,8 @@ typedef struct { #define DO_WRITE ERL_DRV_WRITE #define ERL_DRV_EXTENDED_MARKER (0xfeeeeeed) -#define ERL_DRV_EXTENDED_MAJOR_VERSION 2 -#define ERL_DRV_EXTENDED_MINOR_VERSION 2 +#define ERL_DRV_EXTENDED_MAJOR_VERSION 3 +#define ERL_DRV_EXTENDED_MINOR_VERSION 0 /* * The emulator will refuse to load a driver with different major @@ -657,12 +657,6 @@ EXTERN long driver_async(ErlDrvPort ix, void* async_data, void (*async_free)(void*)); -/* - * driver_async_cancel() is deprecated. It is scheduled for removal - * in OTP-R16. For more information see the erl_driver(3) documentation. - */ -EXTERN int driver_async_cancel(unsigned int key) ERL_DRV_DEPRECATED_FUNC; - /* Locks the driver in the machine "forever", there is no unlock function. Note that this is almost never useful, as an open port towards the driver locks it until the port is closed, why unexpected |