aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/io.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-07-15 14:36:29 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-07-15 14:36:29 +0200
commit178e4db9941b2ec79cb75a8e6b1e113c408435d0 (patch)
tree673ce26dd692b461b3b41d8ffb8ce8ccd95622cf /erts/emulator/beam/io.c
parentb34d863a66ad6e048854faa171a71e1c8e4997eb (diff)
parent3e042cef5b85a60052b0a9bd1fc937079be95a0f (diff)
downloadotp-178e4db9941b2ec79cb75a8e6b1e113c408435d0.tar.gz
otp-178e4db9941b2ec79cb75a8e6b1e113c408435d0.tar.bz2
otp-178e4db9941b2ec79cb75a8e6b1e113c408435d0.zip
Merge branch 'egil/lcnt-histogram/OTP-12059' into maint
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r--erts/emulator/beam/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index edf4a28784..d028737664 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -6129,7 +6129,7 @@ driver_pdl_create(ErlDrvPort dp)
return NULL;
pdl = erts_alloc(ERTS_ALC_T_PORT_DATA_LOCK,
sizeof(struct erl_drv_port_data_lock));
- erts_mtx_init(&pdl->mtx, "port_data_lock");
+ erts_mtx_init_x(&pdl->mtx, "port_data_lock", pp->common.id, 1);
pdl_init_refc(pdl);
erts_port_inc_refc(pp);
pdl->prt = pp;