Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::function & threads
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-20 15:05:28


AMDG

James Sutherland wrote:
> I just ran intel's thread checker on a code I am developing using
> boost::thread and boost::function. It issued some error notifications
> arising from "function_template.hpp"
>
> The following is for boost 1.36.0:
>
> Memory read at "function_template.hpp":770 conflicts with a prior
> memory write at "function_template.hpp":414 (flow dependence)
>
> Memory read at "function_template.hpp":288 conflicts with a prior
> memory write at "function_template.hpp":414 (flow dependence)
>
> Memory read at "function_template.hpp":289 conflicts with a prior
> memory write at "function_template.hpp":414 (flow dependence)
>
> I really don't understand the internals of boost::function, so I have
> no idea whether this is a legitimate error, or if intel's thread
> checker is confused...

a) this is a problem
b) it is fixed in 1.37

In Christ,
Steven Watanabe


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