$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [system] local static and threading in C++03
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2012-12-24 08:40:20
Hello,
Boost.System returns the system_category this way:
BOOST_SYSTEM_DECL const error_category & system_category()
{
static const system_error_category system_category_const;
return system_category_const;
}
But couldn't this make double construction/double free in C++03 systems
if system_category is ran concurrently?
Regards,
-- Felipe Magno de Almeida