4 ms·
lthread is a coroutine library that allows you to make blocking calls inside coroutines by surrounding the blocking code with lthread_compute_begin() and lthrea
by halayli 13y ago
lthread is a coroutine library that allows you to make blocking calls inside coroutines by surrounding the blocking code with lthread_compute_begin() and lthread_compute_end(). This is equivalent to async calls but without the need to capture variables.
http://github.com/halayli/lthread/ http://github.com/halayli/lthread/
Disclaimer: lthread author