// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.#include"thread.h"namespacestorage::framework{voidThread::interruptAndJoin(){interrupt();join();}voidThread::interruptAndJoin(std::condition_variable&cv){interrupt();cv.notify_all();join();}}