$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Interprocess] Determine if named_mutex was opened or created
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-06-03 18:41:41
AMDG
Sönke Schau wrote:
> In the constructor of named_mutex it is possible to specify that the mutex
> should be opened or otherwise created.
>
> Is there a way to determine which took place: creation or open?
No. If you really need to know, you could
try alternating open and create in a loop
until it succeeds.
In Christ,
Steven Watanabe