[fpc-pascal] FPC for High Performance Computing (HPC) Components with Application API
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Tue Oct 19 09:47:49 CEST 2010
Andrew Brunner wrote:
> Ok. You mentioned NPTL. What can you tell me about that? Is that the
> project that makes pthreads?
>
> I'm looking to get the latest and greatest source of posix threads so
> I draw upon that code and perhaps even come up with a native version
> for FPC. Any help would be greatly appreciated.
I wonder if I could possibly make a suggestion here. NPTL is fairly well
established in the Linux kernel- it's been a bit of a long haul, with
some architectures getting it much later than others. However a lot of
unix programmers are still very unfamiliar with the concept of threads,
and "diluting the brand" with a competing implementation isn't going to
help matters.
If you want to do something which is implemented inside FPC then don't
mess with threads. Instead get an efficient coroutine implementation
working, and then build whatever else you want on top of that- but call
it something like Preemptive Coroutines :-)
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list