|
Boost : |
From: Rob Stewart (stewart_at_[hidden])
Date: 2004-08-09 11:29:59
From: Alexander Terekhov <terekhov_at_[hidden]>
> Rob Stewart wrote:
> [...]
> > Call me ignorant, but what does "Oder" mean? www.m-w.com has an
>
> Try http://dict.leo.org ;-)
No help. Apparently, "oder" is German for "or." Your original
message was:
> Howard Hinnant wrote: ...
>
> void read_write(rw_mutex& m, which_t w) {
> sharable_lock<rw_mutex, true> read_lock(m);
> // May need access to many releated which_t's
> if (compute_expensive_result(w)) {
> // Upgrade (blocks upcoming readers while pending)
> scoped_lock<rw_mutex> write_lock(upgrade(read_lock));
> if (read_lock.atomic_upgrade()) {
> modify_state(w);
> if (write_lock.upgrade_pending())
> register_change(w);
> }
> else if (!computation_invalidated(w) || // check registry
> compute_expensive_result(w)) {
> modify_state(w);
> write_lock.upgrade_pending() ?
> register_change(w) : clear_registry();
> }
> else if (!write_lock.upgrade_pending()) {
> clear_registry();
> }
> }
> }
>
> Oder (verbosity aside for a moment)?
So, you quoted what Howard wrote and then wrote:
"Or (verbosity aside for a moment)?"
Sorry, but it still makes no sense.
-- Rob Stewart stewart_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk