In the book Linux System Programming, 2nd Edition
, the difference between coroutines and fiber is explained as follows:
Coroutines and fibers provide a unit of execution even lighter in weight than the thread (with the former being their name when they are a programming language construct, and the latter when they are a system construct).
I have some example of Coroutines (language constructs) but unable to find the example of Fibers.
Can anyone provide me some example of Fiber (a system construct)?