Re:Go-style concurrency in C
by rumcajz on Wednesday November 18, 2015 @03:14AM
(#10586581)
when using native i/o take care to use it in nonblocking manner. if it would block use libmill's fdwait() to wait while the file descriptor is unblocked. in case of long computations call yield() once in a while to give other coroutines a chance to run.
[ Parent
| on HN ]
There are no comments on this comment yet.