Hey,

2015-02-19 1:14 GMT+01:00 Joe VanAndel <vanan...@ucar.edu>:

> I’ve attached two of the races the helgrind detects.
> wt_boost_race1 <http://pastebin.com/831vMuK5>
>

This one would suggest that boost::lexical_cast<> is not thread-safe
because of locale()? That can't be right?

The following race condition is quite interesting:
> It appears that a http::server::TcpConnection object is being destroyed as
> a result of a boost:shared_ptr() being destroyed, while another thread is
> still using the TcpConnection object.
>
> Since boost::shared_ptr is supposed to be thread safe, it isn’t obvious
> how this could happen.
>
>  wt_boost_TcpConnec… <http://pastebin.com/zErMzYvL>
>

Also this does not make sense: shared_ptr guarantees that an object will
not be destroyed as other references exist?

Koen
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to