News for hackers. Stuff that matters.
Re:Lightweight concurrency library for C, featuring symmetri... by fintler on Friday October 18, 2013 @10:32AM (#6571562)
If you plan on implementing anything with libtask, take a look at the version with epoll support.

https://github.com/jamwt/libtask

Mongrel2 is also an excellent example of how libtask can be used.

On another note, alts and chans are underrated in libtask -- I wish the documentation promoted them more. To get an idea of what alts look like when used with a few chans, take a look at keyboardthread() from acme:

http://plan9.bell-labs.com/sources/plan9/sys/src/cmd/acme/ac...

It's just... beautiful.

There are no comments on this comment yet.