diff options
author | Rickard Green <rickard@erlang.org> | 2012-03-27 14:22:09 +0200 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2012-03-27 14:22:09 +0200 |
commit | 12723bc4ab1a01c2c1e1fe851f14b838d29898af (patch) | |
tree | 5b0afedc5c6ddcb6a09c1698b27fd5acda390ff8 /erts/emulator | |
parent | 83f2fac3765d75ab46bc3871c2ac9a53d683edeb (diff) | |
download | erlang-12723bc4ab1a01c2c1e1fe851f14b838d29898af.tar.gz |
Fix wakeup functionality in no thread support case
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/sys/common/erl_poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_poll.c b/erts/emulator/sys/common/erl_poll.c index 3817b1e4d5..26858052c4 100644 --- a/erts/emulator/sys/common/erl_poll.c +++ b/erts/emulator/sys/common/erl_poll.c @@ -2143,7 +2143,7 @@ ERTS_POLL_EXPORT(erts_poll_wait)(ErtsPollSet ps, void ERTS_POLL_EXPORT(erts_poll_interrupt)(ErtsPollSet ps, int set) { -#if defined(USE_THREADS) +#if defined(USE_THREADS) || ERTS_POLL_ASYNC_INTERRUPT_SUPPORT if (!set) reset_wakeup_state(ps); else |