forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parallelize epoll events on thread pool and process events in the sam…
…e thread (dotnet#35330) * Parallelize epoll events on thread pool and process events in the same thread * Use interlocked write instead of volatile write * Upon epoll notification for reads and writes to a socket, queue read work and process write work in same thread * Readonly for Event struct and rename struct to SocketIOEvent * Track and speculatively handle epoll events for synchronous operations on the epoll thread * Prevent event scheduling threads from becoming long-running * Non-speculatively schedule a work item to process epoll events upon first dequeue, delegating scheduling of more work items to other threads
- Loading branch information
Showing
2 changed files
with
213 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.