feisty meow concerns codebase  2.140
basis::base_synchronizer Class Referenceabstract

Interface for a simple form of synchronization. More...

#include <contracts.h>

Inheritance diagram for basis::base_synchronizer:
Collaboration diagram for basis::base_synchronizer:

Public Member Functions

virtual void establish_lock ()=0
 
virtual void repeal_lock ()=0
 

Detailed Description

Interface for a simple form of synchronization.

Derived classes must provide a locking operation and a corresponding unlocking operation.

Definition at line 97 of file contracts.h.

Member Function Documentation

◆ establish_lock()

virtual void basis::base_synchronizer::establish_lock ( )
pure virtual

◆ repeal_lock()

virtual void basis::base_synchronizer::repeal_lock ( )
pure virtual

Implemented in processes::rendezvous, and basis::mutex.


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