Boost Users :
From: Scott McCaskill (scott_at_[hidden])
Date: 2003-10-22 00:07:32
> We both seem to agree that merely grabbing a mutex (or blocking on an
> attempt to grab a mutex) is not changing the object's state.
You're saying acquring a mutex doesn't change its state?
> Somehow, and this is a gut feeling, the condition.wait() seems different
> to me. Perhaps because it requires a change in the objects state in
> order to continue.
In this case, I think the names of the operations are misleading as far as
constness is concerned. "lock" sounds a lot like something that changes
state, but "wait" doesn't--it sounds quite passive by comparison.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net