|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net