Boost logo

Boost :

From: Lie-Quan Lee (llee1_at_[hidden])
Date: 2001-04-03 15:47:01


At Tue, 3 Apr 2001 14:51:46 -0400,
David Abrahams wrote:
> Okay so far...
>
> > so you'd prefer to
> > specify Unchecked so the known behavior is a deadlock.
>
> That assumes that a deadlock is a useful intended behavior. Is it?
> Specifying "undefined" is sometimes a better alternative to "some specific
> really bad behavior", because it allows an implementation to do something
> more reasonable (e.g. throw an exception).

  "undefined" could be an alias of "guaranteed dead lock" depending on
the implementation in pthreads. Are you talking about Boost.Threads
have an "undefined" mutex whose "implementation to do something
more reasonable"?

--
Lie-Quan Lee

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk