|
Boost Users : |
Subject: Re: [Boost-users] [interprocess] Checking for existence Named Mutex
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2010-08-25 03:13:09
On 24/08/2010 23:56, Brian Davis wrote:
>
>
> How do I check for the existence of a named resource in using boost
> interprocess without wrapping a open_only in a try catch block and
> waiting for the exception?
>
>
> That's the only way.
>
>
> Well you know that they say.... if first you don't succeed try... catch
> again. I sure hope that this is not standard coding practices for
> Boost.Interprocess. I have seen this before in the likes of Borland
> Builder (VCL) and Java and I consider this to be poor programming
> practices. I realize that boost is working to create a standard library
> to mirror the likes of Java... I just hope Boost does not mirror(copy)
> the bad practices as well. I hope this gets fixed in future releases.
I'll add this to my to-do list. What would be your proposal? Should we
take in care also permission or mode (r/w) issues?
Best,
Ion
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