(sigil async scheduler)
Shared Async Scheduler State
This module provides the shared state for async context detection. Both (sigil async) and (sigil io) import this to coordinate async behavior without circular dependencies.
Users typically don't need to import this directly - use (sigil async) for the full async runtime.
Exports
schedulerprocedureScheduler record type.
The scheduler manages concurrent tasks with support for I/O and timer-based waiting.
scheduler?procedureTest if a value is a scheduler struct.
scheduler-run-queueprocedureGet the run-queue field of a scheduler struct.
scheduler-blocked-countprocedureGet the blocked-count field of a scheduler struct.
scheduler-task-countprocedureGet the task-count field of a scheduler struct.
scheduler-io-waitersprocedureGet the io-waiters field of a scheduler struct.
scheduler-fd-waitersprocedureGet the fd-waiters field of a scheduler struct.
scheduler-timer-waitersprocedureGet the timer-waiters field of a scheduler struct.
scheduler-external-waitersprocedureGet the external-waiters field of a scheduler struct.
set-scheduler-run-queue!procedureSet the run-queue field of a scheduler struct.
set-scheduler-blocked-count!procedureSet the blocked-count field of a scheduler struct.
set-scheduler-task-count!procedureSet the task-count field of a scheduler struct.
set-scheduler-io-waiters!procedureSet the io-waiters field of a scheduler struct.
set-scheduler-fd-waiters!procedureSet the fd-waiters field of a scheduler struct.
set-scheduler-timer-waiters!procedureSet the timer-waiters field of a scheduler struct.
set-scheduler-external-waiters!procedureSet the external-waiters field of a scheduler struct.
current-schedulerprocedureGet the current async scheduler.
Returns the scheduler if running inside with-async, #f otherwise.
set-current-scheduler!procedureSet the current async scheduler.
Called by the async runtime when entering/exiting async context.
async-prompt-tagvariable(No description)
%async-schedulervariable(No description)
%async-scheduler-run-queuevariable(No description)
%async-scheduler-io-waitersvariable(No description)
%async-scheduler-fd-waitersvariable(No description)
%async-scheduler-timer-waitersvariable(No description)
(No description)
%async-set-scheduler-run-queue!variable(No description)
(No description)
%async-set-scheduler-task-count!variable(No description)
%async-set-scheduler-io-waiters!variable(No description)
%async-set-scheduler-fd-waiters!variable(No description)
(No description)
(No description)