diff options
author | Håvard Pettersen <havardpe@yahooinc.com> | 2023-02-14 10:15:12 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@yahooinc.com> | 2023-02-14 15:40:46 +0000 |
commit | 98e408c667e3dcda3dc177594ffa4c4d0d99a33e (patch) | |
tree | 8086fedd3c4c11ac51fa86f12f68cfe61095ee55 /vespalib/src/tests/singleexecutor/singleexecutor_test.cpp | |
parent | 251bd6d0b21aa2ddac8ef82338f40d37ffc4990f (diff) |
stop using fastos thread more places
- also stop using std::jthread
- remove Active and Joinable interfaces
- remove stop, stopped and slumber
- remove currentThread
- make start function static
- override start for Runnable w/init or custom function
- explicit stop/slumber where needed
Diffstat (limited to 'vespalib/src/tests/singleexecutor/singleexecutor_test.cpp')
-rw-r--r-- | vespalib/src/tests/singleexecutor/singleexecutor_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp b/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp index 56352ff3c0d..3b1d244eb13 100644 --- a/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp +++ b/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp @@ -5,6 +5,7 @@ #include <vespa/vespalib/util/singleexecutor.h> #include <vespa/vespalib/util/lambdatask.h> #include <vespa/vespalib/util/alloc.h> +#include <vespa/vespalib/util/gate.h> #include <atomic> using namespace vespalib; |