[fpc-pascal] Threading vs Parallelism ?

Marco van de Voort marcov at stack.nl
Thu Apr 20 10:39:12 CEST 2017


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 to
convert existing manual m:n scheduling apps.



More information about the fpc-pascal mailing list