Peter Vreman peter at freepascal.org
Thu Sep 4 16:48:47 CEST 2003

At 09:49 4-9-2003, you wrote:
>Hello James,
>Tuesday, September 2, 2003, 12:57:34 PM, you wrote:
>JM> On Tue, Sep 02, 2003 at 09:56:18AM +0200, Chemistry.rd wrote:
> >> From: Dancso Andras <chemistry.rd at egis.hu>
> >> Subject: thread
> >>
> >> Question: How can I start a new thread from FreePascal under Win32?
>You may create descendat from TThread class & place u'r code in
>overrided procedure Execute. See \examples\fcl\threads.pp, but don't
>pay too mach attention at how this example works because it seems to
>be unstable under Windows 2000 (at least). I think that console output is
>not thread safe part of FP I/O system.
>Apropos, test thread program I wrote runs under Win32 without any
>problem, but crashes under Linux (fpc 1.0.10). %-\

Threads are not supported under 1.0.x


More information about the fpc-pascal mailing list