Recent

Author Topic: Concurrency/Multicore support?  (Read 5366 times)

Gautam

  • Newbie
  • Posts: 1
Concurrency/Multicore support?
« 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!

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Concurrency/Multicore support?
« Reply #1 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