bcbcec50c9a2d8abccaa51a823b65e90ede7e8c8
[libcds.git] / cds / sync / 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