Boost logo

Boost Users :

Subject: [Boost-users] boost::function & threads
From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-11-20 14:50:11


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...

James


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