Neco is a C library that provides concurrency using coroutines. It is designed to make concurrent I/O and network programming easy. Neco supports Linux, Mac, and FreeBSD platforms, with some limitations on Windows and WebAssembly. It uses a fair and deterministic scheduler to ensure that no coroutine takes priority over
Table of contents
FeaturesGoalsUsingExample 1 (Start a coroutine)Example 2 (Use neco_main instead of main)Example 3 (Multiple coroutines)Example 4 (Coroutine arguments)Example 5 (Channels)Example 6 (Generators)Example 7 (Connect to server)Example 8 (Create a server)Example 9 (Echo server and client)Example 10 (Suspending and resuming a coroutine)Platform notesThe schedulerLicenseSort: