0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 04:02:15 +02:00
openvpn3/openvpn/win
Lev Stipakov a6151cdeab wintun: use auto-reset events
Wintun documentation clearly states that we must use auto-reset events in ring buffers.
Auto-reset sets event back to non-signalled state after calling WaitForSingleObject.
Without auto-reset and explicit ResetEvent call we got a busy loop.

To avoid confusion move event.hpp from common/ to win/, since it is
Windows-specific code.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2019-09-05 13:45:41 +03:00
..
call.hpp win/call.hpp: re-encode command output to utf8 2019-05-06 17:10:12 +03:00
cmd.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
console.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
event.hpp wintun: use auto-reset events 2019-09-05 13:45:41 +03:00
handle.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
impersonate.hpp win/impersonate: refactor impersonate logic 2019-06-20 10:34:38 +03:00
modname.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
reg.hpp cosmetics: helper function to check registry errors 2018-08-31 17:56:17 +03:00
scoped_handle.hpp wintun: support for privilege separation 2019-08-21 19:09:11 +03:00
sleep.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
unicode.hpp unicode.hpp: customize utf16 conversion routine 2019-05-03 15:02:28 +03:00
winerr.hpp [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00