[fpc-pascal] Threads executing in sequence instead of parallel
Micha Nelissen
micha at neli.hopto.org
Fri Sep 29 18:56:35 CEST 2006
Graeme Geldenhuys wrote:
> The Sort Demo, which is a port of the Threads demo included with
> Delphi 7, shows this clearly. I can archive and post the source, but
Try inserting some Sleep(0) to force the kernel to switch to another
thread ? In real worker threads you wouldn't do this of course, but here
just for the visual effect.
Micha
More information about the fpc-pascal
mailing list