diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-09 19:40:00 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-09 19:40:00 +0000 |
commit | 06a8585e58111223b6e1c19e8c24066714c51b89 (patch) | |
tree | d5e8e266d77f8fe1f3a4c92d04ab458ff401dcb2 /vespalib | |
parent | d30df2cdc5580affa56eb6ca5ab2ab4145aa112c (diff) |
_executor -> _thread
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/tests/thread/thread_test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vespalib/src/tests/thread/thread_test.cpp b/vespalib/src/tests/thread/thread_test.cpp index 38abf810354..ee4f97c34cc 100644 --- a/vespalib/src/tests/thread/thread_test.cpp +++ b/vespalib/src/tests/thread/thread_test.cpp @@ -6,7 +6,7 @@ using namespace vespalib; -VESPA_THREAD_STACK_TAG(test_agent_executor); +VESPA_THREAD_STACK_TAG(test_agent_thread); struct Agent : public Runnable { bool started; @@ -24,7 +24,7 @@ struct Agent : public Runnable { TEST("thread never started") { Agent agent; { - Thread thread(agent, test_agent_executor); + Thread thread(agent, test_agent_thread); } EXPECT_TRUE(!agent.started); EXPECT_EQUAL(0, agent.loopCnt); @@ -33,7 +33,7 @@ TEST("thread never started") { TEST("normal operation") { Agent agent; { - Thread thread(agent, test_agent_executor); + Thread thread(agent, test_agent_thread); thread.start(); std::this_thread::sleep_for(20ms); thread.stop().join(); @@ -45,7 +45,7 @@ TEST("normal operation") { TEST("stop before start") { Agent agent; { - Thread thread(agent, test_agent_executor); + Thread thread(agent, test_agent_thread); thread.stop(); thread.start(); thread.join(); |