aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/shmat.h
diff options
context:
space:
mode:
authorgulin <gulin@yandex-team.ru>2022-02-10 16:47:32 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:32 +0300
commit7199613d295246a07c2f7b331fbb3128936039dc (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util/system/shmat.h
parentc807aae441c17fc7f577c35757a4b6e0bd909802 (diff)
downloadydb-7199613d295246a07c2f7b331fbb3128936039dc.tar.gz
Restoring authorship annotation for <gulin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/shmat.h')
-rw-r--r--util/system/shmat.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/system/shmat.h b/util/system/shmat.h
index ab860e30ca..d9da3c151a 100644
--- a/util/system/shmat.h
+++ b/util/system/shmat.h
@@ -1,21 +1,21 @@
-#pragma once
-
+#pragma once
+
#include "fhandle.h"
#include <util/generic/ptr.h>
#include <util/generic/guid.h>
-
+
class TSharedMemory: public TThrRefBase {
- TGUID Id;
+ TGUID Id;
FHANDLE Handle;
void* Data;
- int Size;
+ int Size;
-public:
+public:
TSharedMemory();
~TSharedMemory() override;
- bool Create(int Size);
+ bool Create(int Size);
bool Open(const TGUID& id, int size);
const TGUID& GetId() {
@@ -29,4 +29,4 @@ public:
int GetSize() const {
return Size;
}
-};
+};