|
Boost : |
Subject: Re: [boost] [interprocess] Enhancment for Boost.Interprocess on Windows
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2018-04-23 21:06:57
On 23/04/2018 16:38, Aliaksandr Zaitsau via Boost wrote:
> Hello,
>
> My colleague at work suggests an enchancement for Boost.Interprocess for
> detecting unique boot on Windows.
>
> Currently in Boost.Interprocess we have 3 implementations:
>
> 1. Using COM. It is marked as incorrect in case of hibernation.
>
> 2. Current default implementation using system events log is incorrect
> since lots of computers will not have expected event in system event log.
>
> 3. There is some new for me implementation using reading Windows
> registry. It is disabled by default.
>
> Question 1
>
> What Windows versions are expected to be supported by current library
> version? What about Windows XP? Earlier Windows?
At least Windows XP. But different solutions can be used in each platform.
>
> Question 2
>
> What is the status of third implementation via registry?
Waiting to be tested by the community to make sure it's robust.
>
> Question 3
>
> It seems strange for him third implementation needs 2 registry values
> for creating unique id. First of them looks enough for this purpose. And
> another one may be not present on some Windows. Who may he speak to get
> technical details why this implementation looks like this?
Newer kernels hibernate the kernel when "shutting down". With hybrid
shutdown / fast boot feature starting in Windows 8 BootId is not updated.
Best,
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk