cds
2.3.2
|
Back-off wait strategy. More...
#include <cds/algo/flat_combining/wait_strategy.h>
Data Structures | |
struct | make_publication_record |
Incorporates back-off strategy into publication record. More... | |
Public Types | |
typedef BackOff | back_off |
Back-off strategy. | |
Public Member Functions | |
template<typename PublicationRecord > | |
void | prepare (PublicationRecord &rec) |
Resets back-off strategy in rec . | |
template<typename FCKernel , typename PublicationRecord > | |
bool | wait (FCKernel &, PublicationRecord &rec) |
Calls back-off strategy. | |
template<typename FCKernel , typename PublicationRecord > | |
void | notify (FCKernel &, PublicationRecord &) |
Does nothing. | |
template<typename FCKernel > | |
void | wakeup (FCKernel &) |
Does nothing. | |
Back-off wait strategy.
Template argument Backoff
specifies back-off strategy, default is cds::backoff::delay_of<2>