[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost
Subject:    Re: [boost] [interprocess] Enhancment for Boost.Interprocess on Windows
From:       Ion_GaztaƱaga_via_Boost <boost () lists ! boost ! org>
Date:       2018-04-23 21:06:57
Message-ID: 2a111918-2d84-221a-4827-b7e6ca776774 () gmail ! com
[Download RAW message or body]

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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic