MCPcopy Create free account
hub / github.com/encodeous/nylon / Wait

Method Wait

polyamide/device/device.go:421–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

419}
420
421func (device *Device) Wait() chan struct{} {
422 return device.closed
423}
424
425func (device *Device) SendKeepalivesToPeersWithCurrentKeypair() {
426 if !device.isUp() {

Callers 15

mainFunction · 0.95
mainFunction · 0.95
TestFormattingFunction · 0.45
CloseMethod · 0.45
newOutboundQueueFunction · 0.45
newInboundQueueFunction · 0.45
newHandshakeQueueFunction · 0.45
TestUpDownFunction · 0.45
TestConcurrencySafetyFunction · 0.45
BenchmarkThroughputFunction · 0.45
NewDeviceFunction · 0.45
CloseMethod · 0.45

Implementers 4

NativeTunpolyamide/tun/tun_linux.go
netTunpolyamide/tun/netstack/tun.go
chTunpolyamide/tun/tuntest/tuntest.go
fakeTUNDeviceSizedpolyamide/device/device_test.go

Calls

no outgoing calls

Tested by 10

TestFormattingFunction · 0.36
TestUpDownFunction · 0.36
TestConcurrencySafetyFunction · 0.36
BenchmarkThroughputFunction · 0.36
TestWaitPoolFunction · 0.36
BenchmarkWaitPoolFunction · 0.36
BenchmarkWaitPoolEmptyFunction · 0.36
BenchmarkSyncPoolFunction · 0.36
TestMessageReadModeFunction · 0.36
TestListenConnectRaceFunction · 0.36