aboutsummaryrefslogtreecommitdiffstats
path: root/slobrok
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@yahooinc.com>2023-02-13 13:37:57 +0000
committerHåvard Pettersen <havardpe@yahooinc.com>2023-02-13 15:05:13 +0000
commitd3a165f287b6d3e010bf10d1816db972e320fad2 (patch)
treedd8776ff877b27faa73189692131d6ae37fbb854 /slobrok
parent3da5e19509fcc10d4cdbcc49747cacc7cac2ae2e (diff)
stop using fastos thread
combine cancel with stop such that cancel means stopped before started and therefore never run. drop the started sync point since there is no state we need to pass from the thread to the starter of the thread.
Diffstat (limited to 'slobrok')
-rw-r--r--slobrok/src/tests/mirrorapi/mirrorapi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/slobrok/src/tests/mirrorapi/mirrorapi.cpp b/slobrok/src/tests/mirrorapi/mirrorapi.cpp
index 58af7cd7f78..2ba54fdb9d0 100644
--- a/slobrok/src/tests/mirrorapi/mirrorapi.cpp
+++ b/slobrok/src/tests/mirrorapi/mirrorapi.cpp
@@ -9,6 +9,7 @@
#include <vespa/fnet/frt/target.h>
#include <vespa/fnet/transport.h>
#include <thread>
+#include <vespa/fastos/thread.h>
#include <vespa/log/log.h>
LOG_SETUP("mirrorapi_test");