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:www.izenesoft.com
































































































Zhen.Yu@MorganStanley.com