Make threadsafe

This commit is contained in:
Ryan Dortmans
2004-11-20 01:43:20 +00:00
parent 3ecf637e2e
commit c70542c031
2 changed files with 21 additions and 1 deletions
@@ -5,6 +5,8 @@
#pragma once
#include "RageThreads.h"
struct vm_page
{
DWORD startAddress; // start address for this page
@@ -49,6 +51,9 @@ protected:
bool inited;
bool logging;
// mutex to make sure pages aren't allocated/deallocated concurrently
RageMutex vmemMutex;
};
void *valloc(size_t size);