
24 Mar
2009
24 Mar
'09
8:03 p.m.
----- Original Message ----- From: "Edouard A." <edouard@fausse.info> To: <boost@lists.boost.org> 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@wanadoo.fr> 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