Add executive work item stubs
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 37s
Builds / ExectOS (i686, debug) (push) Successful in 35s
Builds / ExectOS (i686, release) (push) Successful in 49s
Builds / ExectOS (amd64, debug) (push) Successful in 53s

This commit is contained in:
2026-07-09 07:18:45 +02:00
parent 279aba9742
commit 96502d5db6
4 changed files with 93 additions and 0 deletions

View File

@@ -14,5 +14,6 @@
#include <ex/laslist.hh>
#include <ex/resource.hh>
#include <ex/rundown.hh>
#include <ex/workitem.hh>
#endif /* __XTOSKRNL_EX_HH */

View File

@@ -0,0 +1,29 @@
/**
* PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtoskrnl/includes/ex/workitem.hh
* DESCRIPTION: Asynchronous Work Queue Items and System Worker Thread Management
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
*/
#ifndef __XTOSKRNL_EX_WORKITEM_HH
#define __XTOSKRNL_EX_WORKITEM_HH
#include <xtos.hh>
/* Kernel Executive */
namespace EX
{
class WorkItem
{
public:
STATIC XTAPI VOID InitializeWorkItem(IN PWORK_QUEUE_ITEM Item,
IN PWORKER_THREAD_ROUTINE Routine,
IN PVOID Context);
STATIC XTAPI VOID QueueWorkItem(IN PWORK_QUEUE_ITEM WorkItem,
IN WORK_QUEUE_TYPE QueueType);
};
}
#endif /* __XTOSKRNL_EX_WORKITEM_HH */