From 85a8076d08d75cd939136dc01fde4a18aeb78e70 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 3 Aug 2019 20:43:16 +0000 Subject: Spin less and more efficiently Signed-off-by: Jason A. Donenfeld --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 186f637..6b2b509 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3-59-g8ed1b