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
PollSet uses and event fd to interrupt an ongoing poll() in wakeUp(). On POSIX platforms this uses eventfd() and works fine. On Windows, a ServerSocket is created (either as Unix domain socket or TCP socket) instead. The problem is that when that event fd is signaled, the implementation attempts to receive from it. Which is not going to work as it's a ServerSocket. So this eventfd stays signaled forever, causing high CPU load as poll() always returns immediately.
The text was updated successfully, but these errors were encountered:
The commit that fixes this problem should also solve the problem that the Poco::Net::ServiceNotFoundException exception is thrown when creating a PollSet with a Chinese username in Windows.
PollSet uses and event fd to interrupt an ongoing
poll()
inwakeUp()
. On POSIX platforms this useseventfd()
and works fine. On Windows, a ServerSocket is created (either as Unix domain socket or TCP socket) instead. The problem is that when that event fd is signaled, the implementation attempts to receive from it. Which is not going to work as it's a ServerSocket. So this eventfd stays signaled forever, causing high CPU load as poll() always returns immediately.The text was updated successfully, but these errors were encountered: