X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fgc%2Fimpl%2Fhp_impl.h;h=3639888038c2b616c32a689a480dff2740779aaa;hp=995a8bd082080fa4c37b01fdd8b2ba39f28cddb0;hb=2402fb1beb25ec532cea91c8dfbb9425eb5bdf48;hpb=264957da64a35ca977799720ab436890d0dbf6f7 diff --git a/cds/gc/impl/hp_impl.h b/cds/gc/impl/hp_impl.h index 995a8bd0..36398880 100644 --- a/cds/gc/impl/hp_impl.h +++ b/cds/gc/impl/hp_impl.h @@ -49,7 +49,7 @@ namespace cds { namespace gc { ) : m_bPersistent( bPersistent ) { - if ( !threading::Manager::isThreadAttached() ) + if ( !threading::Manager::isThreadAttached()) threading::Manager::attachThread(); } @@ -120,7 +120,7 @@ namespace cds { namespace gc { template inline T * HP::GuardArray::assign( size_t nIndex, T* p ) { - assert( nIndex < capacity() ); + assert( nIndex < capacity()); m_arr.set(nIndex, p); hp::get_thread_gc().sync(); @@ -128,7 +128,7 @@ namespace cds { namespace gc { } template - inline void HP::retire( T * p, void (* pFunc)(T *) ) + inline void HP::retire( T * p, void (* pFunc)(T *)) { cds::threading::getGC().retirePtr( p, pFunc ); }