[fpc-pascal] Threads executing in sequence instead of parallel

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Sep 28 17:09:54 CEST 2006


Just to give some more feedback.  Using that same Sort App, I compiled
it under Delphi 7, and ran it under Linux using WINE and the threading
worked correctly.  So somewhere in FPC or Lazarus lies the problem.
Yeah I know, not very specific.  :-)

Graeme.


On 28/09/06, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> Attached is the Sort Demo - for incase you have Lazarus.
>
> Graeme.
>
>
> On 28/09/06, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> > ok, I see hundreds of a's  - press b and quite a bit later I see
> > hundreds of b's.
> >
> > Do you have lazarus?  I can then post the Sort Demo to show that one as well.
> >
> > Regards,
> >   - Graeme -
> >
> >
> > On 28/09/06, Marco van de Voort <marcov at stack.nl> wrote:
> > > > The test project /fcl/tests/threads.pp
> > >
> > > I see random alteration of a and b here.
> > >
> > > > The threads.pp test project in fcl, shown a lot of a's on the screen
> > > > and after a while, starts displaying b's on the screen.  Looking at
> > > > the source, I gather the a's and b's are supposed to be mixed as each
> > > > thread gets processor time.
> > >
> > > If you touch a key, only a's will be displayed. This is the programs
> > > behaviour.
> > >
> > > _______________________________________________
> > > fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> > >
> >
> >
> > --
> > There's no place like 127.0.0.1
> >
>
>
> --
> There's no place like 127.0.0.1
>
>
>


-- 
There's no place like 127.0.0.1



More information about the fpc-pascal mailing list