[fpc-pascal] Threading vs Parallelism ?

Michael Van Canneyt michael at freepascal.org
Wed Mar 29 22:15:20 CEST 2017



On Wed, 29 Mar 2017, Dimitrios Chr. Ioannidis via fpc-pascal wrote:

> Hi,
>
> On 29/3/2017 9:57 μμ, fredvs wrote:
>> Hello.
>>
>> Some developers treat me as dinosaur because I use threads in place of 
> doing
>> parallelism.
>>
>> Huh, ok, but why parallelism is better and how to do it with fpc ?
>
>   a nice article I've found long ago when I was researching the same 
> topic "Threading/Concurrency vs. Parallelism" is the following :
>
> http://tutorials.jenkov.com/java-concurrency/concurrency-vs-parallelism.html
>
>  and I tried the multithreadprocslaz package in Lazarus :
>
> http://wiki.freepascal.org/Parallel_procedures

Showing nicely that parallelism in a single process implies threads.
I would not pay too much attention to what these developers are saying.

Michael.


More information about the fpc-pascal mailing list