WIP -- Active research & development. Everything subject to change. Last updated 2026-05-01.
-
Aggregate-Wait and Async Completion
CORE
Landed kernel 1010 + dispatcher Phase 2/3 architecture: `NTSYNC_IOC_AGGREGATE_WAIT`, per-process dispatcher-owned `io_uring`, and same-thread CQE drain / reply. The 2026-04-30 Phase 4 / 1011 follow-ons build directly on this foundation. 4 SVG diagrams.
-
Architecture Overview
CORE
Master system map: client / wineserver / kernel layering, shipped bypass surfaces, residual wineserver floor, and links into the dedicated subsystem docs. 9 SVG diagrams.
-
Audio Stack
CORE
winejack.drv (WASAPI + MIDI on JACK) and nspaASIO bridge: same-period bufferSwitch inside JACK RT callback, futex-synced zero-latency path, unified MIDI handling.
-
Critical Section PI
CORE
FUTEX_LOCK_PI on CRITICAL_SECTION: fast/slow path, PI chain, gating, fallback. 3 SVG diagrams.
-
Gamma Channel Dispatcher
CORE
Hybrid ntsync + wineserver request plane: single per-process channel transport, aggregate-wait over channel + uring eventfd + shutdown eventfd, and post-1011 `TRY_RECV2` burst drain after each dispatch.
-
Hook Cache
CORE
Tier 1 + Tier 2 hook caching for SetWindowsHookEx / WH_* dispatch. Drains the per-call get_hook_info round-trip; validated server_dispatch=0 on Ableton 165s session.
-
io_uring I/O Architecture
CORE
Phase 1-4 io_uring integration: file I/O bypass, dispatcher-owned async `CreateFile`, socket I/O via ALERTED-state interception, E2 bitmap, ntsync uring_fd. 3 SVG diagrams.
-
Local-File Bypass Architecture
CORE
NtCreateFile bypass for read-only regular files: client-private handle range, per-process table, shared inode-aggregation shmem for cross-process sharing arbitration, lazy server-handle promotion on server-requiring APIs. 21+ NT-API intercept sites; ~28,500 file opens offloaded per Ableton startup. 2 SVG diagrams.
-
Message Ring Architecture
CORE
Same-process cross-thread PostMessage / SendMessage via per-queue memfd rings. Removes wineserver round-trip from hot message path; v2 audit fix-pack (MR1 reply-slot ABA, MR2 cross-process futex, MR4 POST wake-loss CAS rollback). 5 SVG diagrams.
-
NT Local Stubs
CORE
Client-side intercepts for cheap NT APIs that don't need a server round-trip: query/info paths handled locally with cached state. Catalog of stub sites and their server-equivalence guarantees.
-
NTSync PI Kernel Driver
CORE
NTSync driver architecture: upstream vs NSPA, patches 1003-1011, PI boost, channel transport, aggregate-wait, and `CHANNEL_TRY_RECV2`. 4 SVG diagrams.
-
Win32 Condvar PI (Requeue-PI)
CORE
FUTEX_WAIT_REQUEUE_PI for RtlSleepConditionVariableCS. Condvar-to-mutex mapping table, 3 new syscalls, zero-gap PI from condvar wake to CS reacquire. 2 SVG diagrams.
-
Wineserver Decomposition Plan
PLAN
Roadmap for splitting wineserver into NTSync-extension paths plus a thinner request handler. Aggregate-wait kernel/userspace slice is now landed; timer/fd-poll decomposition remains ahead.