diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-07-04 19:34:24 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-07-09 18:28:13 +0200 |
commit | bbfc75ea8795d26a2fe9254f3f646e761f2ad61e (patch) | |
tree | 05e3e302c114fe6e46db9d595f66015b2162c393 /erts/emulator/beam/io.c | |
parent | 98c5cdbe60b6d743ad461b651a586c6f3a502ba9 (diff) | |
download | otp-bbfc75ea8795d26a2fe9254f3f646e761f2ad61e.tar.gz otp-bbfc75ea8795d26a2fe9254f3f646e761f2ad61e.tar.bz2 otp-bbfc75ea8795d26a2fe9254f3f646e761f2ad61e.zip |
erts: Add histogram to lcnt
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; |