Fix for 1st-gen Ryzen crashes
This commit is contained in:
parent
99826a6b51
commit
3a2941b719
10 changed files with 102 additions and 9 deletions
|
@ -57,9 +57,20 @@ public:
|
|||
static void destroy();
|
||||
static void init(IRxListener *listener);
|
||||
|
||||
static void setMainLoopBounds(const void* loopBegin, const void* loopEnd)
|
||||
{
|
||||
mainLoopBounds.first = loopBegin;
|
||||
mainLoopBounds.second = loopEnd;
|
||||
}
|
||||
|
||||
static const std::pair<const void*, const void*>& getMainLoopBounds() { return mainLoopBounds; }
|
||||
|
||||
private:
|
||||
static void msrInit(const RxConfig &config);
|
||||
static void msrDestroy();
|
||||
static void SetupMainLoopExceptionFrame();
|
||||
|
||||
static thread_local std::pair<const void*, const void*> mainLoopBounds;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue