ladybird/Libraries/LibThreading/Forward.h
Zaggy1024 5383265b9c LibThreading: Forward-declare Thread in LibThreading/Forward.h
The class is ref-counted, so using forward declarations in a lot of
headers currently including Thread.h is an easy change.
2025-09-22 17:28:21 -05:00

16 lines
225 B
C++

/*
* Copyright (c) 2023-2025, Gregory Bertilson <gregory@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace Threading {
class Thread;
template<typename ErrorType>
class WorkerThread;
}