kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22374
Re: KiCad Coroutines
Le 07/01/2016 12:02, Lorenzo Marcantonio a écrit :
> On Thu, Jan 07, 2016 at 11:50:51AM +0100, jp charras wrote:
>
>> Perhaps some ideas can be taken here:
>> https://github.com/roxma/cpp_learn/tree/master/cpp/linux_programming/coroutine
>
> That's thread based, the goal is to do it without creating more threads
> (which are problematic for many reasons)
>
I am not a coroutine specialist.
However I am not sure it is "thread based".
Threads are used to manage the stack using C++ language only.
I am not sure they are used to manage coroutines themselves.
A coroutine specialist is needed to have a reliable opinion about that.
The ideas in roxma/cpp_learn deserve a careful analysis by this specialist.
--
Jean-Pierre CHARRAS
Follow ups
References