| 60 | } |
| 61 | |
| 62 | bool Open(const TGUID& guid, const size_t size) { |
| 63 | Y_ABORT_UNLESS(Guid.IsEmpty(), "You must call Close before"); |
| 64 | return CreateOpen(guid, size, false); |
| 65 | } |
| 66 | |
| 67 | // after unlinking Open will return false, and Create may map new region with same name. |
| 68 | void Close(const EUnlinkPolicy up = UP_CREATOR_UNLINKS) // default argument for compatibility with TSharedMemory |