Free Pascal => General => Topic started by: Gautam on April 20, 2014, 12:39:17 am

Title: Concurrency/Multicore support?
Post by: Gautam on April 20, 2014, 12:39:17 am
Hi Pascellers (Pascellites? Pascellians?),

Does FPC provide any support for writing highly concurrent code? I don't care whether it is implemented in the traditional lock based model like in Java, or a message passing style like in Go/Erlang. I am just interested in being able to take advantage of multicore architectures for high performance gaming/scientific applications, and also in being able to use multithreaded to create more responsive UIs. Thanks!
Title: Re: Concurrency/Multicore support?
Post by: Leledumbo on April 20, 2014, 03:32:42 am
There's an MPICH2 binding ( available for distributed computing, multithreading ( is supported at RTL and language level (for TLS), mutex/lock/critical section is available as well, both procedural ( and OOP ( version. This wiki article ( is a good tutorial.
TinyPortal © 2005-2018