← Back to team overview

kicad-developers team mailing list archive

Re: [RFC PATCH] No more boost::context

 

Hm, is this really something we want to get into? Nice to remove the 
dependency, but when something breaks in the future, do we have any/many 
developers who can support x86 assembly code?

I really think that if we're going to have to support this, it should be 
something conceptually simpler, like an emulation of coroutines using a 
set of threads and locks.

On Thu, Jan 21, 2016 at 02:42:05PM +0100, Tomasz Wlostowski wrote:
> Hi,
> 
> This patch replaces boost::context with a small library called
> libcontext (derived from boost::context sources). It drops the
> dependency on boost for the cost of one additional header file and cpp
> file (taking inspiration from ClipperLib).
> 
> I've tested the new context switching code on Linux, OSX (El Capitan) &
> Windows (all OS 32-bit and 64-bit Intel). Supported compilers are GCC
> and Clang.
> 
> Let me know if Kicad builds and works correctly on your platforms...
> 
> Cheers,
> Tom


Follow ups

References