Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess] 1.40 compile error
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-09-12 09:35:54


Moritz escribió:
> Hi,
>
> I just started to port my application from boost 1.37 to 1.40 in order
> to get the remove() methods work in an appropriate way.
>
> Problem is now that the compiler is complaining about my use of
> named_condition.wait(lock).

Are you using a named_mutex with named_condition? named_condition does
not work with interprocess_mutexeses. I think the line says it:

//named_condition only works with named_mutex
BOOST_STATIC_ASSERT((detail::is_convertible<typename Lock::mutex_type&,
named_mutex&>::value == true));

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