kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22379
Re: KiCad Coroutines
On Thu, Jan 07, 2016 at 12:08:22PM +0000, Mário Luzeiro wrote:
> Hi all,
>
> Sorry I don't know nothing about co-routines.
> Just curious, Why and where kicad is using it? And why and where kicad need multi-threading?
It's not multithreading, it's suspending a thread of work in the new tool code.
Some thing like this:
- Select a tool (suspend for a selection)
- Other things happens, then user select a thing
- (restart the tool coroutine) Check thing selected and so on
The goal is *not* to use multiple cores or doing things in background;
the idea is to stop inside a function and then resume from there when
something desiderable happens.
--
Lorenzo Marcantonio
CZ Srl - Parma
Attachment:
signature.asc
Description: PGP signature
Follow ups
References
-
Re: KiCad Coroutines
From: Mark Roszko, 2016-01-04
-
Re: KiCad Coroutines
From: Torsten Hüter, 2016-01-04
-
Re: KiCad Coroutines
From: Mark Roszko, 2016-01-04
-
Re: KiCad Coroutines
From: Tomasz Wlostowski, 2016-01-06
-
Re: KiCad Coroutines
From: Wayne Stambaugh, 2016-01-06
-
Re: KiCad Coroutines
From: Torsten Hüter, 2016-01-07
-
Re: KiCad Coroutines
From: jp charras, 2016-01-07
-
Re: KiCad Coroutines
From: Lorenzo Marcantonio, 2016-01-07
-
Re: KiCad Coroutines
From: jp charras, 2016-01-07
-
Re: KiCad Coroutines
From: Mário Luzeiro, 2016-01-07