aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-07-17 14:40:19 +0200
committerSimon Rozman <simon@rozman.si>2019-07-17 14:53:09 +0200
commit82ede2f96d2fa3d001c701630b3e833660ec3f98 (patch)
treee6c008212778e5eb0dd6c16d89b2e56d6a2e04a0 /README.md
parentImprove lock retention when sending (diff)
downloadwintun-82ede2f96d2fa3d001c701630b3e833660ec3f98.tar.xz
wintun-82ede2f96d2fa3d001c701630b3e833660ec3f98.zip
Replace TUN_FLAGS_CONNECTED by an event
On client closing the handle there is a potential race if somebody resets the TailMoved event of receive ring at the right time. Rather than rely on TailMoved event, we introduce our own Disconnected notification event and have the receive thread wait on both. The Disconnected event is also usable as TUN_FLAGS_CONNECTED substitute. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions