Lumiera
0.pre.03
»edit your freedom«
|
This test covers the second part of the monitor pattern, which builds upon the locking part, additionally using an embedded condition. Two interwoven threads are created, both blocked until a start value is given. Once awakened, each thread should add the start value to a common sum field.
Definition at line 90 of file sync-waiting-test.cpp.
Private Member Functions | |
virtual void | run (Arg) |
Additional Inherited Members | |
Public Member Functions inherited from Test | |
virtual void | run (Arg arg)=0 |