aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-09-10 17:26:11 +0200
committerSverker Eriksson <[email protected]>2018-09-18 14:27:52 +0200
commitfd5ec01f342a885fe1ba0103fe6ece71a85f42f0 (patch)
treecc221762fd7d10851ef550cc3564610c2ec127a5 /erts/emulator/beam/dist.h
parentbb531e8bf209b0071bb6084b5ba96f11b39e9183 (diff)
downloadotp-fd5ec01f342a885fe1ba0103fe6ece71a85f42f0.tar.gz
otp-fd5ec01f342a885fe1ba0103fe6ece71a85f42f0.tar.bz2
otp-fd5ec01f342a885fe1ba0103fe6ece71a85f42f0.zip
erts: Refactor port dist_entry & conn_id into PRTSD
spelled out as "port specific data".
Diffstat (limited to 'erts/emulator/beam/dist.h')
-rw-r--r--erts/emulator/beam/dist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/dist.h b/erts/emulator/beam/dist.h
index 75b59e5196..b2f9c6a16b 100644
--- a/erts/emulator/beam/dist.h
+++ b/erts/emulator/beam/dist.h
@@ -256,9 +256,9 @@ void erts_schedule_dist_command(Port *prt, DistEntry *dist_entry)
ERTS_LC_ASSERT(erts_lc_is_port_locked(prt));
ASSERT((erts_atomic32_read_nob(&prt->state)
& ERTS_PORT_SFLGS_DEAD) == 0);
- ASSERT(prt->dist_entry);
- dep = prt->dist_entry;
+ dep = (DistEntry*) erts_prtsd_get(prt, ERTS_PRTSD_DIST_ENTRY);
+ ASSERT(dep);
id = prt->common.id;
}
else {