aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_driver.h
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-02-03 12:55:45 +0100
committerZandra Hird <[email protected]>2015-02-03 12:55:45 +0100
commit9a393fb5237b637cc4cfdb79443a1517743eadd8 (patch)
tree55137e2b85afd9bffdf9355673479878ed6f9d08 /erts/emulator/beam/erl_driver.h
parentc8bbf52191e3c87eedde061051eebcd02dbb7fd5 (diff)
parent42d6afe554e11813385dbf175fce58f995c2f9e5 (diff)
downloadotp-9a393fb5237b637cc4cfdb79443a1517743eadd8.tar.gz
otp-9a393fb5237b637cc4cfdb79443a1517743eadd8.tar.bz2
otp-9a393fb5237b637cc4cfdb79443a1517743eadd8.zip
Merge branch 'maint'
Conflicts: OTP_VERSION erts/emulator/sys/unix/sys.c erts/vsn.mk
Diffstat (limited to 'erts/emulator/beam/erl_driver.h')
-rw-r--r--erts/emulator/beam/erl_driver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h
index f9938fc66c..e498ac70ec 100644
--- a/erts/emulator/beam/erl_driver.h
+++ b/erts/emulator/beam/erl_driver.h
@@ -133,7 +133,7 @@ typedef struct {
#define ERL_DRV_EXTENDED_MARKER (0xfeeeeeed)
#define ERL_DRV_EXTENDED_MAJOR_VERSION 3
-#define ERL_DRV_EXTENDED_MINOR_VERSION 1
+#define ERL_DRV_EXTENDED_MINOR_VERSION 2
/*
* The emulator will refuse to load a driver with a major version
@@ -361,6 +361,9 @@ typedef struct erl_drv_entry {
/* Called on behalf of driver_select when
it is safe to release 'event'. A typical
unix driver would call close(event) */
+ void (*emergency_close)(ErlDrvData drv_data);
+ /* called when the port is closed abruptly.
+ specifically when erl_crash_dump is called. */
/* When adding entries here, dont forget to pad in obsolete/driver.h */
} ErlDrvEntry;