$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Kevin Heifner (heifner_k_at_[hidden])
Date: 2006-02-20 16:27:48
Dhanvi Kapila wrote:
> Kevin Heifner wrote:
>> Right. The mutex is acquired in the constructor and therefore 
>> provides the memory barrier needed.  It looks wrong to my eyes 
>> since I would never use raw new/delete in this context.  Sorry 
>> for the noise.
>>   
> So how you delete a lock ?? Is there any other safe way to delete a lock ?
I don't know what you are asking.  Can you provide an example? 
Use the scoped lock concept.  If you need to hide boost from the 
rest of the application then provide a wrapper around scoped lock.
KevinH
-- 
Kevin Heifner  heifner @ ociweb.com  http://heifner.blogspot.com
           Object Computing, Inc. (OCI) www.ociweb.com