aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_port.h
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2015-07-13 15:38:41 +0200
committerLukas Larsson <[email protected]>2015-12-15 10:05:37 +0100
commit4b98e710b9c45481c1cdc7a4ee68f7ce7fca908a (patch)
tree85540d384eacdc9e15c6ffbbaacac9ff053c0ba1 /erts/emulator/beam/erl_port.h
parent6f760fcaf2608cc25684e17660a95e51f080c7af (diff)
downloadotp-4b98e710b9c45481c1cdc7a4ee68f7ce7fca908a.tar.gz
otp-4b98e710b9c45481c1cdc7a4ee68f7ce7fca908a.tar.bz2
otp-4b98e710b9c45481c1cdc7a4ee68f7ce7fca908a.zip
erts: Add support for asynchronous open_port
OTP-13086
Diffstat (limited to 'erts/emulator/beam/erl_port.h')
-rw-r--r--erts/emulator/beam/erl_port.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_port.h b/erts/emulator/beam/erl_port.h
index acd68ef0ad..bc4b412594 100644
--- a/erts/emulator/beam/erl_port.h
+++ b/erts/emulator/beam/erl_port.h
@@ -187,6 +187,11 @@ struct _erl_drv_port {
ErtsPrtSD *psd; /* Port specific data */
int reds; /* Only used while executing driver callbacks */
+
+ struct {
+ Eterm to;
+ Uint32 ref[ERTS_MAX_REF_NUMBERS];
+ } *async_open_port; /* Reference used with async open port */
};