1 repository
Low-level libraries providing primitives for manual state transitions and stack management in C.
Distinguishing note: Shortlist candidates are for kernel-level or CLI-profile switching, not user-space C runtime primitives
Explore 1 awesome GitHub repository matching operating systems & systems programming · C Context Switching Libraries. Refine with filters or upvote what's useful.
libaco is a low-level C library for cooperative multitasking that provides a runtime for managing asymmetric coroutines. It functions as an execution context manager and stack memory allocator, allowing a single process to initialize independent execution units with private stacks and perform manual context switching via yield operations. The library distinguishes itself through its memory management and stability features, utilizing read-only guard pages at stack boundaries to trigger hardware faults upon stack overflow. It supports both private stack allocation and shared stack pooling to r
Provides low-level C primitives for rapid switching between execution states and private memory stacks.