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

Description

Test:
verify the object monitor provides locking and to prevent data corruption on concurrent modification of shared storage.
  • use a chained calculation with deliberate sleep state while holding onto an intermediary result
  • run this calculation contended by a huge number of threads
  • either use locking or no locking
    See also
    sync.happ
    thread.hpp

Definition at line 108 of file sync-locking-test.cpp.

Private Member Functions

template<class POLICY >
bool can_calc_without_Error ()
 
virtual void run (Arg)
 

Additional Inherited Members

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

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