diff options
author | Rickard Green <[email protected]> | 2014-09-25 17:15:27 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-09-25 17:15:27 +0200 |
commit | 3b972c26208c99282215766c3716ae23a1ac6214 (patch) | |
tree | 89312b5b944dc3b69a89d1b6b77f6392d7097f21 /erts/emulator/sys/win32 | |
parent | f4a57a8e94b9eb5f21adfd1c8da62429a3cb35c1 (diff) | |
parent | 404c44d58058da8cfead5dd310fcb24bf3e8d344 (diff) | |
download | otp-3b972c26208c99282215766c3716ae23a1ac6214.tar.gz otp-3b972c26208c99282215766c3716ae23a1ac6214.tar.bz2 otp-3b972c26208c99282215766c3716ae23a1ac6214.zip |
Merge branch 'rickard/maint-17/eager-check-io/OTP-12117' into rickard/master/eager-check-io/OTP-12117
* rickard/maint-17/eager-check-io/OTP-12117:
No eager check I/O on OSE
Introduce support for eager check I/O scheduling
Conflicts:
erts/preloaded/ebin/erlang.beam
Diffstat (limited to 'erts/emulator/sys/win32')
-rw-r--r-- | erts/emulator/sys/win32/erl_poll.c | 2 | ||||
-rw-r--r-- | erts/emulator/sys/win32/erl_win_sys.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/erts/emulator/sys/win32/erl_poll.c b/erts/emulator/sys/win32/erl_poll.c index 7a1d129cd5..972170d465 100644 --- a/erts/emulator/sys/win32/erl_poll.c +++ b/erts/emulator/sys/win32/erl_poll.c @@ -1085,7 +1085,7 @@ void erts_poll_controlv(ErtsPollSet ps, pcev[i].events, pcev[i].on); } - ERTS_POLLSET_LOCK(ps); + ERTS_POLLSET_UNLOCK(ps); HARDTRACEF(("Out erts_poll_controlv")); } diff --git a/erts/emulator/sys/win32/erl_win_sys.h b/erts/emulator/sys/win32/erl_win_sys.h index a78dbf64af..838f0c61eb 100644 --- a/erts/emulator/sys/win32/erl_win_sys.h +++ b/erts/emulator/sys/win32/erl_win_sys.h @@ -113,12 +113,10 @@ /* * Our own type of "FD's" */ +#define ERTS_SYS_FD_INVALID INVALID_HANDLE_VALUE #define ERTS_SYS_FD_TYPE HANDLE #define NO_FSTAT_ON_SYS_FD_TYPE 1 /* They are events, not files */ -#define HAVE_ERTS_CHECK_IO_DEBUG -int erts_check_io_debug(void); - /* * For erl_time_sup */ |