Update
This commit is contained in:
4
vendor/tailscale.com/wgengine/magicsock/blockforever_conn.go
generated
vendored
4
vendor/tailscale.com/wgengine/magicsock/blockforever_conn.go
generated
vendored
@@ -10,11 +10,13 @@ import (
|
||||
"sync"
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"tailscale.com/syncs"
|
||||
)
|
||||
|
||||
// blockForeverConn is a net.PacketConn whose reads block until it is closed.
|
||||
type blockForeverConn struct {
|
||||
mu sync.Mutex
|
||||
mu syncs.Mutex
|
||||
cond *sync.Cond
|
||||
closed bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user