diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-07-15 14:36:29 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-07-15 14:36:29 +0200 |
commit | 178e4db9941b2ec79cb75a8e6b1e113c408435d0 (patch) | |
tree | 673ce26dd692b461b3b41d8ffb8ce8ccd95622cf /erts/emulator/beam/io.c | |
parent | b34d863a66ad6e048854faa171a71e1c8e4997eb (diff) | |
parent | 3e042cef5b85a60052b0a9bd1fc937079be95a0f (diff) | |
download | otp-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.c | 2 |
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; |