|
Boost Users : |
From: Peisheng Wang (peisheng.wang_at_[hidden])
Date: 2008-05-13 21:47:30
Why
#if ISTHREADSAFE
      boost::mutex::scoped_lock lock(CacheInfo_mutex);
# endif  Â
functions well , but not
if(isThreadSafe)
{
   boost::mutex::scoped_lock lock(CacheInfo_mutex);
}
     Â
-- Peisheng Wang Software Engineer iZENEsoft (Shanghai) Co., Ltd Room 601 Marine Tower, No. 1 Pudong Ave. Tel:86-21-68860698-114 Fax:86-21-68860699 Company Website:<a target="_blank" href="http://www.izenesoft.com/">www.izenesoft.com</a> <a href="../../../../index.php?menuaction=felamimail.uicompose.compose&send_to=Wmhlbi5ZdUBNb3JnYW5TdGFubGV5LmNvbQ==">Zhen.Yu_at_[hidden]</a>
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