Re: [linux-audio-dev] Article about multithreading

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Article about multithreading
From: Richard C. Burnett (burnett_AT_tality.com)
Date: Tue Jun 19 2001 - 00:45:16 EEST


I don't agree myself. Type checking is something you do to prevent
programming error BEFORE the program is used. Trying to 'back-out' of a
deadlock is something you do AFTER the program is compiled and run. In my
mind, if you get deadlocks then it is programming error and instead of
trying to back-out of it, you want something to help narrow down the
reasons and conditions that caused it, not fix itself taking alot of time
and not being made aware of it.

Additionally, garbage collection is something totally different and in my
mind designed for people that don't really program that well. I have yet
to use a language in which the garbage collector worked well in many
situations.

But of course, this is my opinion :) I think drummers and piano players
can probably do some good parallel programming :)

FWIW,
Rick

On Mon, 18 Jun 2001, John Regehr wrote:

> On Sun, 17 Jun 2001, Joe Pfeiffer wrote:
>
> > mutex might conceivably lead to a deadlock eventually). Deadlock is
> > really programmer error, so trying to avoid it is a really misplaced
> > effort.
>
> The conclusion "trying to avoid deadlock is misplaced effort" does not
> follow from "deadlock is programmer error". If it did, then
> "type-checking is misplaced effort", "garbage collection is misplaced
> effort", and a whole lot of other ridiculous conclusions would also
> follow from the analogous statements.
>
> John
>
>
>

+------------------------+-----------------------+
| T a l i t y | +------+ |
+------------------------+ +----+-+ | |
| Richard Burnett | +-+ | |
| Senior Design Engineer +---+ +----+ |
| burnett_AT_tality.com | | |
| | | |
| Phone: 919.380.3014 | |
| Fax: 919.380.3903 | | |
+------------------------------------------------+


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Jun 19 2001 - 00:48:26 EEST