X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fintrusive%2Fimpl%2Fskip_list.h;h=ddce8e53465ca802ac512b0f249f568445532231;hp=c9f25594536889144c05952a9e76b313017c5638;hb=a6b4573d46fc1acdd6fa87b928abdf904ce4e66b;hpb=cbcae1a58183d30196703c396ade486c447f4adb diff --git a/cds/intrusive/impl/skip_list.h b/cds/intrusive/impl/skip_list.h index c9f25594..ddce8e53 100644 --- a/cds/intrusive/impl/skip_list.h +++ b/cds/intrusive/impl/skip_list.h @@ -210,13 +210,12 @@ namespace cds { namespace intrusive { - opt::stat - internal statistics. Available types: skip_list::stat, skip_list::empty_stat (the default) \warning The skip-list requires up to 67 hazard pointers that may be critical for some GCs for which - the guard count is limited (like as gc::HP, gc::HRC). Those GCs should be explicitly initialized with + the guard count is limited (like as \p gc::HP). Those GCs should be explicitly initialized with hazard pointer enough: \code cds::gc::HP myhp( 67 ) \endcode. Otherwise an run-time exception may be raised when you try to create skip-list object. \note There are several specializations of \p %SkipListSet for each \p GC. You should include: - for gc::HP garbage collector - - for gc::HRC garbage collector - for gc::PTB garbage collector - for \ref cds_intrusive_SkipListSet_nogc for persistent set - for \ref cds_intrusive_SkipListSet_rcu "RCU type" @@ -235,7 +234,7 @@ namespace cds { namespace intrusive { before end of the set. Therefore, such iteration is more suitable for debugging purpose only Remember, each iterator object requires 2 additional hazard pointers, that may be - a limited resource for \p GC like as gc::HP and gc::HRC (for gc::PTB the count of + a limited resource for \p GC like as \p gc::HP (for \p gc::PTB the count of guards is unlimited). The iterator class supports the following minimalistic interface: