binana/profile/3.3.5a-windows-386/include/event/thread.h

25 lines
500 B
C
Raw Permalink Normal View History

2025-04-15 20:44:29 -04:00
#ifndef EVENT_THREAD_H
#define EVENT_THREAD_H
DECLARE_STRUCT(EvtThread);
#include "storm/thread.h"
#include "storm/list.h"
#include "storm/queue.h"
STORM_TS_LIST(EvtThread);
// class EvtThread : public TSLinkedNode<EvtThread>
struct EvtThread {
TSLinkedNode_EvtThread b_base;
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;
EvtContextQueue m_contextQueue;
};
#endif