2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "FileHandle.h"
24 * Get a chunk of shared memory of specified size
26 * The shared memory is automatically allocated, truncated to the correct size
32 explicit CSharedMemory(std::size_t size
);
34 std::size_t Size() const
48 CSharedMemory(CSharedMemory
const& other
) = delete;
49 CSharedMemory
& operator=(CSharedMemory
const& other
) = delete;
52 CFileHandle
OpenMemfd();
53 CFileHandle
OpenShm();