[Gluster-devel] swapcontest usage in syncio.c

Emmanuel Dreyfus manu at netbsd.org
Tue Aug 7 18:13:35 UTC 2012

Anand Avati <anand.avati at gmail.com> wrote:

> I cannot find a code path where synctask_get() happens without a
> synctask_set() happening in the same thread. Did you manage to find one?

I will try to make a clean log of such a situation this afternoon.

What was behind the decision to use swapcontext, btw? Why not just have
a thread for each task?

Emmanuel Dreyfus
manu at netbsd.org

More information about the Gluster-devel mailing list