[fpc-pascal] Threads executing in sequence instead of parallel
graemeg.lists at gmail.com
Thu Sep 28 17:00:08 CEST 2006
Attached is the Sort Demo - for incase you have Lazarus.
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.
> - 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4035 bytes
Desc: not available
More information about the fpc-pascal