aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2010-01-23 00:16:26 +0100
committerBjörn Gustavsson <[email protected]>2010-01-23 10:19:02 +0100
commited188cb4dbe90d3ebb4f7f251e04b5e8d2d3c143 (patch)
tree593fcce707766d94875238ed2c11d828090df2c9 /erts/emulator/beam/global.h
parente19d6e4463a9cc3b738fd32a46e0ce9282a70fd5 (diff)
downloadotp-ed188cb4dbe90d3ebb4f7f251e04b5e8d2d3c143.tar.gz
otp-ed188cb4dbe90d3ebb4f7f251e04b5e8d2d3c143.tar.bz2
otp-ed188cb4dbe90d3ebb4f7f251e04b5e8d2d3c143.zip
Remove mutex lock around sys_gettimeofday() in os:timestamp/0
In the erlang-questions thread "os:timestamp() uses mutex lock" Jonas Falkevik questioned the need for a mutex lock in os:timestamp/0. The mutex lock *is* needed in erlang:now() to guarantee the uniqueness of the returned time, but serves no useful purpose in os:timestamp(). Signed-off-by: Tuncer Ayaz <[email protected]>
Diffstat (limited to 'erts/emulator/beam/global.h')
0 files changed, 0 insertions, 0 deletions