$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Thread][win32, msvc] Mutexes
From: Alexander Gutenev (gutenev_at_[hidden])
Date: 2008-09-27 15:39:32
Hi
I consider changing from win32 CRITICAL_SECTIONs to Boost.Thread mutexes.
boost::mutex isn't CRITICAL_SECTION, but boost::detail::lightweight_mutex
is. Does this mean that boost::mutex is heavy-weight ?
If so, what's the reason for heavy-weight implementation which has the same
capabilities that lightweight CRITICAL_SECTION has ?
If not so, what's the reason for boost::detail::lightweight_mutex to exist ?
Thanks.