SV: SV: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Ole J. Røtne
> Please post the complete code. Here goes (Typed from my Linux box, as i don't have filesharing going there): < Start Unit1 Unit unit1; {$mode objfpc}{$H+} Interface Uses Classes, SysUtils; Type threadtest = class(tthread) constructor Create; procedure Execute: override; End

Re: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Graeme Geldenhuys
Could we see the complete code please... Graeme. On 7/2/06, Ole J. Røtne <[EMAIL PROTECTED]> wrote: Did try to wrap both of the WriteLn() with EnterCriticalSection/LeaveCriticalSection. Same result.. -- There's no place like 127.0.0.1 ___ fpc-pasc

Re: SV: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Florian Klaempfl
Ole J. Røtne wrote: > > >> -Opprinnelig melding- >> Fra: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] På vegne av >> Florian Klaempfl >> Sendt: 2. juli 2006 12:46 >> Til: FPC-Pascal users discussions >> Emne: Re: [fpc-pascal] wri

SV: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Ole J. Røtne
> -Opprinnelig melding- > Fra: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] På vegne av > Florian Klaempfl > Sendt: 2. juli 2006 12:46 > Til: FPC-Pascal users discussions > Emne: Re: [fpc-pascal] writeln in threads on linux > > > And if this is a &

Re: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Florian Klaempfl
Ole J. Røtne wrote: > > Can anyone explain why i get output like this in a small test program: > Inside Thread >Main Loop > Inside Thread >Main Loop > Inside Thread >Main Loop > > > On Windows the output are lined up just as I would expect: > Insi

[fpc-pascal] writeln in threads on linux

2006-07-02 Thread Ole J. Røtne
Can anyone explain why i get output like this in a small test program: Inside Thread Main Loop Inside Thread Main Loop Inside Thread Main Loop On Windows the output are lined up just as I would expect: Inside Thread Main Loop Inside Thread Main