We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a57d21 + 5d1b48d commit 4d8a41fCopy full SHA for 4d8a41f
1 file changed
console_linux.go
@@ -262,10 +262,14 @@ func (ec *EpollConsole) Shutdown(close func(int) error) error {
262
263
// signalRead signals that the console is readable.
264
func (ec *EpollConsole) signalRead() {
265
+ ec.readc.L.Lock()
266
ec.readc.Signal()
267
+ ec.readc.L.Unlock()
268
}
269
270
// signalWrite signals that the console is writable.
271
func (ec *EpollConsole) signalWrite() {
272
+ ec.writec.L.Lock()
273
ec.writec.Signal()
274
+ ec.writec.L.Unlock()
275
0 commit comments