[fpc-devel] Threads under Windows 64bit W7_64bit

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Aug 20 15:46:31 CEST 2009


On Thu, 20 Aug 2009 15:38:11 +0200
Bernd Mueller <mueller.b at gmx.net> wrote:

> Mattias Gaertner wrote:
> > Has someone tested threads under windows 64bit W7_64bit ?
> > 
> > See this bug report:
> > http://bugs.freepascal.org/view.php?id=14389
> > 
> I guess the problem is not special to W7_64-bit. Windows 98 as well
> as Windows 2000 are running the threads sequential on my single cpu 
> machine. MaxThreadCount returns 1.

Good. 
If MaxThreadCount returns 1 then only the main thread should run
and no further thread should start.

 
> If I increase MaxThreadCount to two, the test program crashes with
> the error message mentioned in the bug report.

Thanks for testing. Yes, the program itself is buggy.

Mattias



More information about the fpc-devel mailing list