From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-03-26 03:37:32
Peter Dimov wrote:
> Howard Hinnant wrote:
>> N2184 takes the minimalist approach. It is easier to add
>> functionality (and the associated expense) than to subtract it. There are
>> many things the N2184::thread does not directly support. I
>> believe this is a feature, not a bug.
> This is true under the assumption that we need to target the least
> common denominator. Try/timed joins for example come for free on
> Windows. So you are imposing an unnecessary mutex+cv overhead for everyone
> wanting to
> use try/timed joins there.
> I've decided to adopt a different approach and suggest a way to
> equalize ('harmonise' in EU terms :-) ) the platforms via the join2
> extensions. In a perfect world, this would lead to everyone enjoying
> _zero overhead_ try/timed joins in a few years once pthread implementors
> adopt the
That would be good, even if thread joining probably (hopefully) isn't where
applications spend most of their time.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk