]> Cypherpunks repositories - gostls13.git/commit
internal/poll: better panic message for lock overflow
authorIan Lance Taylor <iant@golang.org>
Wed, 20 Jun 2018 03:43:24 +0000 (20:43 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 20 Jun 2018 16:55:30 +0000 (16:55 +0000)
commit3ca5b7c5b21574da0b29ea1d2d53ffce8711d225
treee115c88a032a298281260f52ec95bb517473ceb3
parent578e0668627229ad0b9a3c88b61b3489cedb9074
internal/poll: better panic message for lock overflow

Instead of "inconsistent poll.fdMutex", panic with
"too many concurrent operations on a single file or socket (max 1048575)".

Fixes #25558

Change-Id: I5cad3633aa539fb6f48cca236c6656c86acfb663
Reviewed-on: https://go-review.googlesource.com/119956
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Dmitry Vyukov <dvyukov@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/internal/poll/fd_mutex.go
src/internal/poll/fd_mutex_test.go