Files
exectos/xtoskrnl/includes/ps/thread.hh
Aiken Harris 68e08d3065
Some checks failed
Builds / ExectOS (amd64, release) (push) Failing after 22s
Builds / ExectOS (i686, release) (push) Failing after 23s
Builds / ExectOS (amd64, debug) (push) Failing after 38s
Builds / ExectOS (i686, debug) (push) Failing after 37s
Implement accessor for the currently executing executive thread
2026-07-14 23:00:49 +02:00

29 lines
747 B
C++

/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/includes/ps/thread.hh
* DESCRIPTION: Thread Management
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#ifndef __XTOSKRNL_PS_THREAD_HH
#define __XTOSKRNL_PS_THREAD_HH
#include <xtos.hh>
/* Process and thread management */
namespace PS
{
class Thread
{
public:
STATIC XTAPI XTSTATUS CreateIdleThread(IN PKPROCESSOR_CONTROL_BLOCK Prcb,
IN PVOID Stack);
STATIC XTAPI VOID DeleteThread(IN PVOID ThreadObject);
STATIC XTAPI PETHREAD GetCurrentThread(VOID);
};
}
#endif /* __XTOSKRNL_PS_THREAD_HH */