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

Marc Santhoff M.Santhoff at t-online.de
Fri Sep 29 19:17:52 CEST 2006


Am Freitag, den 29.09.2006, 19:00 +0200 schrieb Graeme Geldenhuys:
> Thanks Jason - I don't recall you mentioning what platform you are
> working on, but I gather in is some *nix platform.  The only thing you
> just proofed with your post is - threading is not working correctly!
> 
> There shouldn't be a need for workarounds like suspending threads to
> get others to work. The whole point of threads, is let them run all at
> once in parallel.  Delphi does it, Kylix does it, FPC under win32 does
> it!  Linux doesn't!  Instead of figuring out a workaround, rather
> submit a bug report with an example.

FWIW, maybe only to take the general suspicion from unix-like systems:

On FreebBSD 4.11 I ran the GUI-threading demo posted by you without any
problem in the expected quasi-parallel manner.

Marc





More information about the fpc-pascal mailing list