[fpc-pascal]Thread changes between 1.9.0 and 1.9.2

Michael Van Canneyt michael.vancanneyt at wisa.be
Thu Jan 15 21:57:07 CET 2004


On Thu, 15 Jan 2004, Lloyd Park wrote:

> I have been playing with multi-threaded apps using fpc 1.9.0.  I use the
> {$THREADING ON} directive in my code.  My test program compiled and ran
> with 1.9.0, but with 1.9.2, I get the following runtime error:
>
> This binary has no thread support compiled in.
> Recompile the application with a thread-driver in the program uses clause.
> No heap dump by heaptrc unit
> Exitcode = 232
>
> After looking at the RTL source, I thought I needed to 'use cthreads', but
> that didn't seem to do the job.

Nevertheless, that should do it, but it should be the first unit in your
program's uses clause.

Michael.




More information about the fpc-pascal mailing list