cds  2.3.3
cds::algo::flat_combining::wait_strategy::multi_mutex_multi_condvar< Milliseconds > Class Template Reference

Wait strategy where each thread has a mutex and a condition variable. More...

#include <cds/algo/flat_combining/wait_strategy.h>

Data Structures

struct  make_publication_record
 Incorporates a condition variable and a mutex into PublicationRecord. More...
 

Public Types

enum  
 

Public Member Functions

template<typename PublicationRecord >
void prepare (PublicationRecord &)
 Does nothing.
 
template<typename FCKernel , typename PublicationRecord >
bool wait (FCKernel &fc, PublicationRecord &rec)
 Sleeps on condition variable waiting for notification from combiner.
 
template<typename FCKernel , typename PublicationRecord >
void notify (FCKernel &, PublicationRecord &rec)
 Calls condition variable function notify_one()
 
template<typename FCKernel >
void wakeup (FCKernel &fc)
 Calls fc.wakeup_any() to wake up any pending thread.
 

Detailed Description

template<int Milliseconds = 2>
class cds::algo::flat_combining::wait_strategy::multi_mutex_multi_condvar< Milliseconds >

Wait strategy where each thread has a mutex and a condition variable.

Template parameter Milliseconds specifies waiting duration; the minimal value is 1.


The documentation for this class was generated from the following file:

cds 2.3.3 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Apr 5 2026 09:49:52 by Doxygen 1.8.10