Subject: [Boost-bugs] [Boost C++ Libraries] #4854: boost ptr_list serious problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-15 12:12:46
#4854: boost ptr_list serious problem
------------------------------------+---------------------------------------
Reporter: davidmahorse@⦠| Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.44.0 | Severity: Problem
Keywords: |
------------------------------------+---------------------------------------
I have defined a struct like below:
there is a mutex in it. I just found this mutex cannot cross-
thread,strang?
But stl c++ list works well. It doesn't have such a strange problem.
struct
{
.....
ptr_list<SeppContext> freeContextList;
}
when i invoke freeContextList.mutex1,
I try:
freeContextList.mutex1.lock();
then a boost lock error jumped up.
It is not my codes'problem. It is the problem of ptr_list of boost.
strange?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4854> 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