diff options
author | Rickard Green <[email protected]> | 2011-05-10 21:12:05 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2011-05-13 14:23:28 +0200 |
commit | 78ebe8aa3754fc8837ab3a6b0bc11d1e78275eef (patch) | |
tree | a2d4e660b73dfee4fbf25f091a9fc6b8787b62bc /erts/emulator/beam/bif.c | |
parent | 3da283a85f73132e73ab911154c2c0ff8797d61d (diff) | |
download | otp-78ebe8aa3754fc8837ab3a6b0bc11d1e78275eef.tar.gz otp-78ebe8aa3754fc8837ab3a6b0bc11d1e78275eef.tar.bz2 otp-78ebe8aa3754fc8837ab3a6b0bc11d1e78275eef.zip |
Use 32-bit atomic for port snapshot
Diffstat (limited to 'erts/emulator/beam/bif.c')
-rw-r--r-- | erts/emulator/beam/bif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c index fe8dcc4d8b..fe21e30d82 100644 --- a/erts/emulator/beam/bif.c +++ b/erts/emulator/beam/bif.c @@ -3282,7 +3282,7 @@ BIF_RETTYPE ports_0(BIF_ALIST_0) erts_smp_atomic_set(&erts_dead_ports_ptr, (erts_aint_t) (port_buf + erts_max_ports)); - next_ss = erts_smp_atomic_inctest(&erts_ports_snapshot); + next_ss = erts_smp_atomic32_inctest(&erts_ports_snapshot); for (i = erts_max_ports-1; i >= 0; i--) { Port* prt = &erts_port[i]; |