- Test:
- timeout feature on condition wait as provided by the underlying implementation and accessible via the object monitor based locking/waiting mechanism. Without creating multiple threads, we engage into a blocking wait, which aborts due to setting a timeout.
- See also
- SyncWaiting_test
-
sync.hpp
Definition at line 56 of file sync-timedwait-test.cpp.
|
| static string | firstTok (Arg) |
| | conveniently pick the first token from the argument line
|
| |
| static uint | firstVal (Arg, uint=1) |
| | conveniently use some number given as argument, with optional default
|
| |
| virtual | ~Test ()=default |
| | this is an interface
|
| |
| virtual void | run (Arg arg)=0 |
| |
| void | seedRand () |
| | draw a new random seed from a common nucleus, and re-seed the default-Gen.
|
| |
| lib::Random | makeRandGen () |
| | build a dedicated new RandomGen, seeded from the default-Gen
|
| |
| static Monitor & | getMonitor (Sync const *forThis) |
| |
◆ run()
◆ Lock
The documentation for this class was generated from the following file: