diff options
author | Lukas Larsson <[email protected]> | 2014-11-03 11:32:01 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-04-13 15:59:22 +0200 |
commit | e6d3da55a2fe06730f3b92098ff8c13e16e3254b (patch) | |
tree | 68f8ced6767f0b0f69514ea57c1d4805455f836f /erts/emulator/beam/erl_db_util.c | |
parent | 6e3e48d39a77aa18b92fb048d6a910baa71badf3 (diff) | |
download | otp-e6d3da55a2fe06730f3b92098ff8c13e16e3254b.tar.gz otp-e6d3da55a2fe06730f3b92098ff8c13e16e3254b.tar.bz2 otp-e6d3da55a2fe06730f3b92098ff8c13e16e3254b.zip |
erts: Add high accuracy poll timeouts
Different poll/select implementations have different ways
to handle timeouts of < ms accuracy. Most have extended
API like pselect or such, while others rely on using
timerfds (epoll_wait). If no high accuracy timeout is
available, we simply round up to nearest ms. If we do not
roundup we will spin the last ms when waiting for a timeout
which is not desirable.
Diffstat (limited to 'erts/emulator/beam/erl_db_util.c')
0 files changed, 0 insertions, 0 deletions