PR comments

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-06 10:00:58 -07:00
parent ae9d15c977
commit 8adf8fd7a1
2 changed files with 6 additions and 4 deletions
@@ -31,6 +31,7 @@ namespace AZ
SharedMemory_Common::CreateResult SharedMemory_Windows::Create(const char* name, unsigned int size, bool openIfCreated)
{
azstrncpy(m_name, AZ_ARRAY_SIZE(m_name), name, strlen(name));
AZStd::fixed_wstring<256> fullName;
ComposeName(fullName, name, L"Mutex");
@@ -67,6 +68,7 @@ namespace AZ
bool SharedMemory_Windows::Open(const char* name)
{
azstrncpy(m_name, AZ_ARRAY_SIZE(m_name), name, strlen(name));
AZStd::fixed_wstring<256> fullName;
ComposeName(fullName, name, L"Mutex");