mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 19:42:29 +00:00
18 lines
398 B
C++
18 lines
398 B
C++
|
|
#ifndef EVENT_CONTEXT_HPP
|
||
|
|
#define EVENT_CONTEXT_HPP
|
||
|
|
|
||
|
|
#include "event/Types.hpp"
|
||
|
|
#include <cstdint>
|
||
|
|
|
||
|
|
class EvtContext;
|
||
|
|
|
||
|
|
HEVENTCONTEXT AttachContextToThread(EvtContext* context);
|
||
|
|
|
||
|
|
void DetachContextFromThread(uint32_t a1, EvtContext* a2);
|
||
|
|
|
||
|
|
EvtContext* GetNextContext(uint32_t hThread);
|
||
|
|
|
||
|
|
void PutContext(uint32_t nextWakeTime, uint32_t newSmoothWeight, EvtContext* context, uint32_t hThread);
|
||
|
|
|
||
|
|
#endif
|