Re: [Boost-bugs] [Boost C++ Libraries] #4010: Boost message queue bug

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4010: Boost message queue bug
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-17 10:16:56


#4010: Boost message queue bug
-------------------------------------------------+--------------------------
  Reporter: rusty0831 <rusty_lai@…> | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: Boost-1.45.0 | Component: interprocess
   Version: Boost 1.42.0 | Severity: Problem
Resolution: fixed | Keywords: bug message queue temp folder bootstamp
-------------------------------------------------+--------------------------

Comment (by marek):

 i have been hit by this bug for longer also
 and always use workaround


 testing beta 1.45 release now

 seems now it is working on my vista(32bit) OS.
 but it still fails on legacy XP (32bit)
 i don't know about others versions

 so i back to use my work-around of this problem and it is working smoothly
 again

 \boost\boost\interprocess\detail\tmp_dir_helpers.hpp

 {{{
 #if defined (BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTTIME)
 inline void get_bootstamp(std::string &s, bool add = false)
 {
    std::string bootstamp;
    winapi::get_last_bootup_time(bootstamp);
 + bootstamp = "";
    if(add){
       s += bootstamp;
    }
    else{
       s = bootstamp;
    }
 }
 #elif defined(BOOST_INTERPROCESS_HAS_BSD_KERNEL_BOOTTIME)
 }}}

 if any1 else is seeing this it may be worth reopening this bug

 thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4010#comment:9>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC