MemArena: Keep fastmem region mapped on Linux.

This commit is contained in:
Admiral H. Curtiss 2021-06-22 00:15:03 +02:00
commit ffbe6cb21f
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
2 changed files with 32 additions and 11 deletions

View file

@ -113,7 +113,13 @@ private:
void* m_address_VirtualAlloc2 = nullptr;
void* m_address_MapViewOfFile3 = nullptr;
#else
#ifdef ANDROID
int fd;
#else
int m_shm_fd;
void* m_reserved_region;
std::size_t m_reserved_region_size;
#endif
#endif
};