PolyThread is the Java library for synchronization and multi-threading that integrates platform threads, virtual threads, coroutines, fibers, CompletableFuture and OS processes.
The library would aim to:
- Provide abstractions for managing different concurrency models.
- Allow developers to switch between platform threads, virtual threads, coroutines, fibers, etc., with minimal changes.
- Include utilities for common synchronization patterns (e.g., Producer/Consumer, Reader/Writer).
- Handle inter-process communication (IPC) if OS processes are included.