4

I'm aware of some Windows Thread Libs for Delphi(OmniThread Lib, BMThreads, etc).

But is there a lib that is built to be cross-platform and that can both be used under Delphi and FreePascal?

Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76

2 Answers2

3

Although these are not links to threading libraries per se, the information on the following pages might (or might not) be of use when researching threading on Windows/Linux and MACOSX

  1. Multithreading with Lazarus.
  2. OSX Multithreading forum...thread.

Sorry couldn't offer anything more specific.

Nazar
  • 1,499
  • 12
  • 24
2

Both FPC/Lazarus and Delphi support TThread. FPC doesn't suppport TMREWS though (it does have the identifier but it is a simple lock).

But I assume you mean some thread pooling classes? What do you exactly need, and why is the Delphi built in support not enough?

Marco van de Voort
  • 25,628
  • 5
  • 56
  • 89
  • This is a question to help me on the Dweetta project. I'm already wrapping sock libs(synapse and indy soon) and wanted to do the same for Threads. And because I love OmniThread Lib I thought that someone had already made on for FPC. Look like I'll have to swing it and have different stuff for each, or just use the default TTHread. – Gustavo Carreno May 02 '09 at 18:44
  • 1
    Delphi/FPC have their own thread abstraction, so the need for extra libs is relatively unneeded. – Marco van de Voort May 02 '09 at 20:15