Boost logo

Boost Users :

Subject: Re: [Boost-users] [IPC Named Mutex]
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-05-27 12:00:24


El 26/05/2015 a las 8:08, Gavin Lambert escribió:

> I'm not really all that familiar with Interprocess, but my understanding
> is that it uses the filesystem for some of its constructs (which I think
> is weird and wrong, and likely a side effect of having Posix origins,
> but that's a topic for another day).
>
> Given that the failure was somewhere related to directory names, what's
> probably happening is that it's trying to find the name of its shared
> directory. For that it evidently wants to use the boot time, as it's a
> value that should be identical for all processes started since the last
> reboot, but different between reboots (to avoid getting stale data).

Yes, that's the idea. Obtaining this "unique" identifier between reboots
that remains stable between all processes it's been incredibly
difficult. Any alternative or suggestion is welcome.

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