Lumiera  0.pre.03
»edit your freedom«
SyncClasslock_test Class Reference

Description

Test:
check proper handling of class (not instance)-based Monitor locks.

Because no instance is available in this case, a hidden storage for the Monitor object needs to be provided in a way safe for use even in the static startup/shutdown phase. This can not directly validate this allocation of a shared monitor object behind the scenes, but it can verify the monitor is indeed shared by all ClassLock instances templated to a specific type.

See also
sync.hpp

Definition at line 60 of file sync-classlock-test.cpp.

Private Member Functions

virtual void run (Arg)
 

Additional Inherited Members

- Public Member Functions inherited from Test
virtual void run (Arg arg)=0
 
+ Inheritance diagram for SyncClasslock_test:
+ Collaboration diagram for SyncClasslock_test:

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