Boost logo

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