|
rippled
|


Public Member Functions | |
| void | processTask (int instance) override |
| Perform a task. | |
Public Attributes | |
| std::condition_variable | cv |
| std::mutex | mut |
| int | count = 0 |
Definition at line 87 of file Workers_test.cpp.
|
overridevirtual |
Perform a task.
The call is made on a thread owned by Workers. It is important that you only process one task from inside your callback. Each call to addTask will result in exactly one call to processTask.
| instance | The worker thread instance. |
Implements xrpl::Workers::Callback.
Definition at line 90 of file Workers_test.cpp.
| std::condition_variable xrpl::Workers_test::TestCallback::cv |
Definition at line 97 of file Workers_test.cpp.
| std::mutex xrpl::Workers_test::TestCallback::mut |
Definition at line 98 of file Workers_test.cpp.
| int xrpl::Workers_test::TestCallback::count = 0 |
Definition at line 99 of file Workers_test.cpp.