microthreads
Microthreads are a concurrency construct consisting of a large number of lightweight threads managed at the user level rather than by the operating system. Each microthread represents a separate flow of control with its own call stack, but the total memory footprint is small compared with native OS threads. Microthreads enable concurrent execution of many tasks within a single process.
They are typically scheduled by a user-space scheduler or runtime, which can be cooperative (tasks yield explicitly)
Common use cases include high-concurrency servers, event-driven networking, simulations, and applications that must manage thousands or
Advantages include reduced memory overhead per task, faster creation and switching, and the ability to scale
The term appears in discussions of coroutines and green threads; practical implementations include protothreads, coroutine libraries