News for hackers. Stuff that matters.
Re:Libdill: Structured concurrency in C by rumcajz on Saturday June 04, 2016 @06:42AM (#11835829)
Yes, the library design is based on that article.

However, there are couple of simplifications that were done in the meantime.

Most importantly, the article goes into great pains to define a single API that deals with both soft and hard cancellation of coroutines.

The library takes advantage of the fact that soft cancellation is always application-specific and provides a single API to do hard cancellation (hclose(h)). User is free to implement the soft cancellation themselves.

There are no comments on this comment yet.