← Back to team overview

kicad-developers team mailing list archive

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

 

On Thu, Jan 21, 2016 at 03:21:41PM +0100, Tomasz Wlostowski wrote:
> Have a look at the discussion between Lorenzo, Kristian and Torsten.
> Emulating coroutines with threads can only bring more problems.

Fully agree. The boost::context is more or less an ad-hoc setjmp/longjmp
so it should work as expected (if it's done correctly).

Using thread/fibers/whatever bring in too many unspecified/today seems
to work tomorrow who can say issues (like the setjmp environment which
is *explicitly* said to bring undefined results in the C99 standard)

--
Lorenzo Marcantonio
CZ Srl - Parma

Attachment: signature.asc
Description: PGP signature


References