diff options
author | Steve Vinoski <[email protected]> | 2014-03-28 09:10:48 -0400 |
---|---|---|
committer | Steve Vinoski <[email protected]> | 2014-03-28 09:10:48 -0400 |
commit | 4ec8d3be1936bda8cb69a97619e7b7796c54948a (patch) | |
tree | dcd3e009b193c3bf95b5d10071f8dbcbdd4a6982 /lib/stdlib/src/random.erl | |
parent | 98ca47d657fafa4d91b128053e9286114115c0a8 (diff) | |
download | otp-4ec8d3be1936bda8cb69a97619e7b7796c54948a.tar.gz otp-4ec8d3be1936bda8cb69a97619e7b7796c54948a.tar.bz2 otp-4ec8d3be1936bda8cb69a97619e7b7796c54948a.zip |
prevent NIF purge during dirty NIF execution
Reference-count the NIF before and after invoking a NIF on dirty schedulers
to prevent having the NIF purged during the call.
Diffstat (limited to 'lib/stdlib/src/random.erl')
0 files changed, 0 insertions, 0 deletions