C++ features by examples

Concurrency patterns More...

Collaboration diagram for Concurrency:

Classes

class  Synchronized_queue< T, Container >
 
struct  Active_object
 Active object More...
 

Functions

void concurrency_patterns_demo ()
 

Detailed Description

Concurrency patterns

Function Documentation

◆ concurrency_patterns_demo()

void concurrency_patterns_demo ( )

Definition at line 792 of file patterns.cpp.

793{
794 Sample_product sp(3);
795 Active_object ao(sp);
796 assert(ao.method() == 3);
797}
Active object
Definition: patterns.cpp:759
Here is the call graph for this function:
Here is the caller graph for this function: