From: David Brownell <brownell@ix.netcom.com>
Cc: brownell@ix.netcom.com
Subject: Re: Looking for best design for using pthreads in C++ objects
Date: 1996/03/08 [thread overview]
Message-ID: <31407AAD.1CEF@ix.netcom.com> (raw)
In-Reply-To: 313EDB0B.FF6@zko.dec.com
Dave Butenhof wrote:
> Having classes with destructors that clean up state, as TRIVIALLY
> DEMONSTRATED by Locker, is clearly the best way to apply C++ semantics to
> the problem of protecting thread state invariants against "unusual"
> routine exit. But the true solution in nearly all cases must go beyond
> the triviality of Locker to restore data invariants, not merely the state
> of the mutex!
So I guess we all agree. The original question was a pretty vague
one, and my response was therefore generic. When you apply generic
techniques, a "cookbook" approach doesn't work. I did what I could
to make that clear, but in the discussion all of the original context
was lost. Part of the peril of being taken out of context!
--
David Brownell <brownell@ix.netcom.com>
next prev parent reply other threads:[~1996-03-08 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-02-19 5:00 Looking for best design for using pthreads in C++ objects Thom Anderson
1996-02-20 5:00 ` David Brownell
1996-02-26 5:00 ` Webb Scales
[not found] ` <313DEF19.5B69@ix.netcom.com>
[not found] ` <313EDB0B.FF6@zko.dec.com>
1996-03-08 5:00 ` David Brownell [this message]
1996-02-27 5:00 ` Harald Fuchs
1996-02-28 5:00 ` Webb Scales
1996-03-06 5:00 ` David Brownell
1996-02-20 5:00 ` Nasser Abbasi
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox