-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: Add proper support for Virtual Threads (Java 21)
Currently, running both server and clients from Virtual Threads is impossible as they may block each other. Modify the blocking code to use LockSupport.park/unpark internally, when necessary. For now use a naive poll implementation that spawns individual poll syscalls on system threads (later, we will use epoll/kqueue when available). Improve the MassiveParallelTest to exercise the new code.
- Loading branch information
1 parent
e61a567
commit c5962ba
Showing
19 changed files
with
1,520 additions
and
335 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.