[Gluster-devel] NetBSD swapcontext() portability fix

Emmanuel Dreyfus manu at netbsd.org
Mon Aug 13 10:31:07 UTC 2012


On Mon, Aug 13, 2012 at 03:14:31AM -0700, Anand Avati wrote:
> This is much cleaner! followed your thread on tech-kern and appreciate your
> perseverance!

Thanks. I am confident we will be able to fix that mess.

About the patch (is it better to comment in gerrit or here?): Yes
I need to unset the flag before each swapcontext() call, since 
swpacontext(3) saves the old context as populated by getcontext(2), 
which resets the flags. 


-- 
Emmanuel Dreyfus
manu at netbsd.org




More information about the Gluster-devel mailing list