Re: www.linux.com - opinion
I really despair sometimes when I here replies like this. So your idea
of debugging a system which composes of 300+ threads is to run a
separate debugger for each process.
What about synchronisation and initialisation, there really is no global
semaphore in Unix that I am aware of. NT uses Global named semaphores.
What if you want more than one server running with different config
Really, there is a need for POSIX threads. Perhaps the problem with
developers who have been forced to work on non-threaded old systems is
they get set in their way. When a new and better approach is created
there will be the inevitable resistance.
One thing I will say, developing compilers and debuggers is an extremely
complicated thing. You really have to be a specialist, even a specialist
within the debugging and compiling environment (there are several). We
cannot all be masters of all, some of us are only human and keep to
small areas. I certainly am not up to the skill required to develop
debuggers and compilers, so tend to stay clear.
Looks like Linux really is not a multi-threaded environment. So I have
decided to give up on Linux and go back to Solaris.
"You pays your money and you takes your choice", or in Linux' case "you
don't pays your money and you gets no choice".
In message <20011004122936.B4221@godzillah>, Henrique de Moraes Holschuh
>On Thu, 04 Oct 2001, Ian Beard wrote:
>> Please read my article at www.linux.com - opinion.
>Done that. BTW, if multi-threaded support is so important to you and your
>company and it is not immediactly available, the libre software way is to
>write your own/improve whatever is there and share.
>I do fail to see how a system composed of multiple threads is any more
>simple than a system with multiple processes (given that a thread and a
>process are equally "light" to a Linux kernel; threads are not any faster,
>especially not Posix threads). But that is a discrusion for another day,
>and another mailinglist.
>> I tried compiling ddd on Red Hat 7.1 and failed. Does your distribution
>> support multi-threaded debugging, with ddd.
>One poster that replied to your arcticle suggests that it can be done in
>Debian. According to http://packages.debian.org, you will need to use our
>latest development distribution (i.e. "Debian unstable") to get the tools
>you need, that is gdb 5.0 and a new-enough ddd.
>Please direct futher questios of this nature to
>email@example.com, since they deal not with the Debian project
>itself. Also, be warned that Debian unstable is exactly that: cutting-edge
>and sometimes unstable (not the programs; the distribution itself).
Ian Beard Arcontech Ltd
Software Engineer 31-35 Kirby Street
Phone +44 (0) 20 7405 2111 London EC1N 8TE
Fax +44 (0) 20 7831 6667 UK
E-mail firstname.lastname@example.org www.arcontech.com
This email, and any files transmitted with it, is confidential and intended
solely for the use of the individual or entity to whom it is addressed.
If you have received this mail in error please notify Arcontech Limited on
+44 171 405 2111 or email email@example.com.
It is the responsibility of the recipient to ensure that it is virus free and no
responsibility is accepted by Arcontech Limited for any loss or damage arising
in any way from its use.