Re: [Boost-bugs] [Boost C++ Libraries] #4687: boost::interprocess::message_queue::receive and timed_receive bug(Linux)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4687: boost::interprocess::message_queue::receive and timed_receive bug(Linux)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-06 16:46:16


#4687: boost::interprocess::message_queue::receive and timed_receive bug(Linux)
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: message_queue CPU 100%
-------------------------------+--------------------------------------------

Comment (by anonymous):

 environment 3: Linux 2.6.9-55.ELsmp; g++ (GCC) 3.4.6 20060404 (Red Hat
 3.4.6-8)

 Initially we saw the same problem -- 100% cpu.
 Adding -I/usr/include/nptl to the build solved the problem:

 /usr/include/bits/posix_opt.h: #define _POSIX_THREAD_PROCESS_SHARED
 -1
 /usr/include/nptl/bits/posix_opt.h: #define _POSIX_THREAD_PROCESS_SHARED
 200112L

 YMMV

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4687#comment:1>
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