[fpc-pascal] Threading vs Parallelism ?

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Thu Apr 20 11:19:23 CEST 2017

On 20/04/17 09:00, Marco van de Voort wrote:
> In our previous episode, Mark Morgan Lloyd said:> > In any event, processes on unix are *defined* as owning resources- > memory, handles and so on- while threads only manage control flow. I > believe that MS also have "fibers" which are non-preemptive threads.
> They are not really threads. They must be scheduled within threads.
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms682661(v=vs.85).aspx
> from the article they don't seem to have that many advantages, except toconvert existing manual m:n scheduling apps.

Which effectively makes them coroutines, but since they're MS-only 
they're nonportable. Which is more or less where Ryan started off the 
other thread.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-pascal mailing list