android / android/ndk

ASharedMemory C++ wrapper API

Open
#820 3 comments 0 reactions 0 assignees View on GitHub
c++ wrapper request
Dominant language
No language data
Stars
2.3k
Forks
310
PR merge metrics
No merged PRs in 30d

Description

Forked from https://github.com/android-ndk/ndk/issues/476

Possible API:

```C++
namespace android::memory {
class SharedMemory final {
public:
SharedMemory (const std::string& name, size_t size);
SharedMemory (std::string_view name, size_t size);
~SharedMemory(); // Use RAII to release the memory

size_t getSize ();
int setProt (int prot)
};
}
```

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or implementation entry point. Start by reading the forked android-ndk/ndk#476 discussion and reviewing the existing NDK shared-memory APIs; clarify the supported API surface and acceptance criteria before coding.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.