diff options
author | Simon Rozman <simon@rozman.si> | 2019-02-08 08:48:35 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2019-02-08 08:48:35 +0100 |
commit | 5981d5cacff73b3ba9fc9619ea60f8fc3ad65295 (patch) | |
tree | f2bc57bd8b5753fb22f3fda9e987dace0c4ade32 /tun/tun_freebsd.go | |
parent | b13739ada2cfa1c66672e7a4edfe339e394b1a4f (diff) |
wintun: Check for user close in read loop regardless the load
Do the WaitForSingleObject() always to provide high-load responsiveness.
Reorder events so TUN_SIGNAL_CLOSE has priority over
TUN_SIGNAL_DATA_AVAIL, to provide high-load responsiveness at all.
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'tun/tun_freebsd.go')
0 files changed, 0 insertions, 0 deletions