Wrote priority queue for processes
This commit is contained in:
23
src/process.hpp
Normal file
23
src/process.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef PROCESS_H
|
||||
#define PROCESS_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
namespace kernel
|
||||
{
|
||||
|
||||
class Process
|
||||
{
|
||||
public:
|
||||
|
||||
Process();
|
||||
|
||||
size_t priority;
|
||||
|
||||
void* stack;
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user