|
Boost : |
Subject: Re: [boost] [interprocess] locked mutex and process killed
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-03-24 16:03:10
----- Original Message -----
From: "Edouard A." <edouard_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, March 24, 2009 6:55 PM
Subject: Re: [boost] [interprocess] locked mutex and process killed
>
> On Tue, 24 Mar 2009 10:34:58 -0700 (PDT), Vicente Botet Escriba
> <vicente.botet_at_[hidden]> wrote:
>> Edouard A. wrote:
>
>> How the mutex will be unlocked when leaving the scope of the function?
>
> Well the destructor of the scoped_lock calls unlock, or am I missing
> something?
Sorry if this question has a obvious answer. It is sure that the destructors will be called when a process is killed?
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk