$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.
Scott McCaskill