Coroutine is a small asymmetric coroutine library written in C. It is inspired by Lua-style coroutine behavior and uses a schedule-based model. Developers first open a schedule, create coroutines inside it, and then resume them from the same thread that opened the schedule. Coroutines in the same schedule share the stack, which makes it possible to create many coroutines without heavy memory overhead. The project is useful for C developers who want cooperative multitasking without depending on a larger runtime. Its design is minimal, low-level, and focused on giving programmers explicit control over coroutine creation, suspension, and resumption.
Features
- Asymmetric coroutine library for C
- Lua-inspired coroutine behavior
- Schedule-based coroutine management
- Shared stack for low memory usage
- Explicit coroutine resume control
- Lightweight cooperative multitasking
Categories
LibrariesLicense
MIT LicenseFollow Coroutine
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Coroutine!