[fpc-pascal] cthreads

Juha Manninen juha.manninen62 at gmail.com
Fri Jul 25 10:52:41 CEST 2014


I was asked why a threaded application compiles on Linux without "uses
cthreads" but it does not work.
cthreads must _always_ be added to uses section.
I had no answer to that. IMO such errors should be trapped at
compile-time, not at run-time.
Could it be fixed somehow?
Many people experience the same run-time error about too many
concurrent threads. They must search the net and ask questions while
(I guess) the problem could be solved by forcing a compilation error.

Juha



More information about the fpc-pascal mailing list