You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for {
msgs, from, err := s.Receive()
if err != nil {
if err == syscall.EAGAIN {
continue
}
if cberr != nil {
cberr(fmt.Errorf("Receive failed: %v",
err))
if the socket baking s is changed to non blocking mode as the commit 916f968 did, when there is no event in the socket, kernel will always return EAGAIN which cause the goroutine to a busy loop.
The text was updated successfully, but these errors were encountered:
in the following code snippets
if the socket baking s is changed to non blocking mode as the commit 916f968 did, when there is no event in the socket, kernel will always return EAGAIN which cause the goroutine to a busy loop.
The text was updated successfully, but these errors were encountered: