diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-03 20:43:16 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-04 07:06:50 +0000 |
commit | 85a8076d08d75cd939136dc01fde4a18aeb78e70 (patch) | |
tree | f44603cba636eaf5b5f5210417389886a4f1ae89 /README.md | |
parent | GetCurrentProcessToken() is Win8+, so open our own token (diff) | |
download | wintun-85a8076d08d75cd939136dc01fde4a18aeb78e70.tar.xz wintun-85a8076d08d75cd939136dc01fde4a18aeb78e70.zip |
Spin less and more efficiently
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ for (;;) { } ``` -It may be desirable to spin for ~50ms before waiting on the `TailMoved` event, in order to reduce latency. +It may be desirable to spin a short amount of time before waiting on the `TailMoved` event, in order to reduce latency. When closing the handle, Wintun will set the `Tail` to 0xFFFFFFFF and set the `TailMoved` event to unblock the waiting user process. |