|
Boost : |
From: Iain.Hanson_at_[hidden]
Date: 2002-01-31 14:23:12
Author: david.abrahams (david.abrahams_at_[hidden]) at unix,mime
Date: 31/01/02 19:09
>...so you give newbies a "safe_mutex" on which scoped_lock works and for
>which there are no lock/unlock functions? Maybe I'm just getting hung up on
>the principle of the thing. After all, even experts are likely to use
>scoped_lock most often.
One of the things that most concerns me with the totally safe interface is
that if I want to unlock the mutex early and then re-aquire it later I
can't.
I have to create two mutex's :-( with all the extra complication that
entails in other functions .
/ikh
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk