aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.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/global.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/global.h')
-rw-r--r--erts/emulator/beam/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index ec8c1e3ccb..5330f389e0 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -161,6 +161,7 @@ struct erts_driver_t_ {
void (*ready_async)(ErlDrvData drv_data, ErlDrvThreadData thread_data); /* Might be NULL */
void (*process_exit)(ErlDrvData drv_data, ErlDrvMonitor *monitor);
void (*stop_select)(ErlDrvEvent event, void*); /* Might be NULL */
+ void (*emergency_close)(ErlDrvData drv_data); /* Might be NULL */
};
extern erts_driver_t *driver_list;
@@ -883,6 +884,7 @@ Uint erts_port_ioq_size(Port *pp);
void erts_stale_drv_select(Eterm, ErlDrvPort, ErlDrvEvent, int, int);
Port *erts_get_heart_port(void);
+void erts_emergency_close_ports(void);
#if defined(ERTS_SMP) && defined(ERTS_ENABLE_LOCK_COUNT)
void erts_lcnt_enable_io_lock_count(int enable);