On 01/26/2011 06:19 PM, Anthony Liguori wrote:
What do you mean by threaded version?Stefan didn't post it, but the original code also has a GThread based implementation when ucontext isn't available (like on Windows). It uses a mutex to control the execution of the coroutines.
Ah ok. These can all be hidden under a single API.btw, I think Windows does provide support for user-level threads under the name Fibers.
-- error compiling committee.c: too many arguments to function