On Wed, 15 Sep 2010 15:41:16 +0200, Marc Weustink wrote about Re:
[Lazarus] Threads in Lazarus code base:

> Graeme Geldenhuys wrote:
> > On 15 September 2010 13:25, Mattias Gaertner  wrote:>>  True. And I
> > have already plans to use some threads. Good to hear.
> >
> >> Threads have several disadvantages:>  *They are harder to debug,
> > debugging with FPC+GDB is already hard, so there would be no
> > difference.  ;-)
> 
> So let's make it more difficult ?

I think Graeme's point is that FPC's linkage to GDB is made up largely
of chewing gum and string as it is, so adding multi-threading does not
make any significant increase in the difficulty.

FWIW, I have been doing multi-threading on mainframes since the 1970s.
[It is called sub-tasking there.] I have never had any serious problems
debugging concurrent sub-tasks, just as I do not have too many problems
debugging multi-threaded code under Linux (today) or OS/2 (in the
recent past).

This now brings us to the idea of building a debugger more suitable to
FPC, Lazarus and the Pascal language generally.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
[email protected] (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Attachment: signature.asc
Description: PGP signature

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to