apoxi/include/Kernel/ApoxiThread.hpp
Kirill Zhumarin d7d9bcf23a apoxi headers
2025-03-27 22:28:46 +03:00

32 lines
1,009 B
C++

/* ------------------------------------------------------------------------
Copyright (C) COMNEON electronic technology GmbH & Co. OHG.
All rights reserved.
------------------------------------------------------------------------
This document contains proprietary information belonging to COMNEON.
Passing on and copying of this document, use and communication of its
contents is not permitted without prior written authorisation.
------------------------------------------------------------------------ */
#if !defined(Apoxi_ApoxiThread_hpp)
#define Apoxi_ApoxiThread_hpp
#include <Kernel/Os/Os.hpp>
#include <Auxiliary/Linkable.hpp>
class ExecutionContext;
class ApoxiThread : public Thread, public Linkable<ApoxiThread> {
typedef Thread Base;
public:
ApoxiThread();
virtual ~ApoxiThread();
virtual ExecutionContext& GetContext() = 0;
virtual const ExecutionContext& GetContext() const = 0;
};
#endif // Apoxi_ApoxiThread_hpp