Takes out backoff in misc data structures
[libcds.git] / cds / misc / backoff.h
1 #ifndef _BACKOFF_H
2 #define _BACKOFF_H
3
4 #include <cds/algo/backoff_strategy.h>
5
6 namespace cds_others {
7
8 namespace bkoff = cds::backoff;
9 struct BackoffTraits : public bkoff::exponential_const_traits {
10   static size_t lower_bound;
11   static size_t upper_bound;
12 };
13 typedef bkoff::exponential<BackoffTraits> ExpBackoff;
14
15 } // namespace cds_others
16
17 #endif