chore: initial commit

This commit is contained in:
fallenoak 2023-01-02 13:17:18 -06:00
commit 70b00c5c38
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
965 changed files with 264882 additions and 0 deletions

25
src/event/EvtThread.hpp Normal file
View file

@ -0,0 +1,25 @@
#ifndef EVENT_EVT_THREAD_HPP
#define EVENT_EVT_THREAD_HPP
#include "event/EvtContext.hpp"
#include <cstdint>
#include <storm/List.hpp>
#include <storm/Thread.hpp>
class EvtThread : public TSLinkedNode<EvtThread> {
public:
// Member variables
uint32_t m_threadSlot;
uint32_t m_threadCount;
uint32_t m_weightTotal;
uint32_t m_weightAvg;
uint32_t m_contextCount;
uint32_t m_rebalance;
SEvent m_wakeEvent = SEvent(0, 0);
EvtContextQueue m_contextQueue;
// Member functions
EvtThread();
};
#endif