Forum > General
Concurrency/Multicore support?
(1/1)
Gautam:
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!
Leledumbo:
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.
Navigation
[0] Message Index