Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add support for growing `mapped_region`

オープン
#253 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
32/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp, linux

調査の方向性

まず mapped_region クラスと、Linux、NetBSD、Solaris 向けに参照されている mremap のドキュメントを読んでください。記載されている Windows の制限を含め、プラットフォーム固有の API を調査し、そのうえで、拡張、移動、サポートされていないプラットフォーム、およびライブラリ構成マクロがどのように動作すべきかを定義してください。mapped_region がサポート対象のすべてのプラットフォームで要求された機能を一貫して公開できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Linux, NetBSD and Solaris have a mremap system call that allows to opportunistically grow or relocate the existing memory mapping. There also seems to be a way to achieve this on Windows, but I'm not familiar with that API.

Please, add support for this functionality (specifically, growing and/or relocating a memory mapping) to the mapped_region class. For example, add a grow_by method that would try to increase the size of the mapped region at the same address and remap to relocate the region at a different address and size. On platforms that don't support this functionality, the new methods would always fail. This would also be indicated at compile time by some library-defined config macro.

主要言語
C++
スター
186
フォーク
131
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

boostorg/interprocess のほかの issue

boostorg/interprocess の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。