boostorg / boostorg/interprocess
Provide extended allocators interface (e.g. grow/realloc) like Boost.Container
- Ngôn ngữ chính
- C++
- Star
- 185
- Fork
- 131
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
[Boost.Container allocators support extra interfaces than the standard allocator requirements](https://www.boost.org/doc/libs/1_73_0/doc/html/container/extended_allocators.html).
Some of these functions are useful even to C libraries that used to enjoy `realloc()` like features. So this extra interface is useful even if we're not planning to use it with standard containers.
It'd be nice if Boost.Interprocess could provide a few of these features for its [allocators](https://www.boost.org/doc/libs/1_73_0/doc/html/interprocess/allocators_containers.html) as [`managed_shared_memory`](https://www.boost.org/doc/libs/1_73_0/doc/html/interprocess/managed_memory_segments.html#interprocess.managed_memory_segments.managed_memory_segment_features.allocate_deallocate) has plenty of features not found in Boost.Container allocators and we cannot use Boost.Container extended allocators to manage preallocated memory regions.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu bằng cách đọc tài liệu được liên kết về các allocator mở rộng của Boost.Container, sau đó so sánh tài liệu đó với tài liệu về allocator và managed_shared_memory của Boost.Interprocess. Xác định những thao tác allocator nào có thể được hỗ trợ cho các vùng bộ nhớ được cấp phát trước, đồng thời xác định interface và các bài kiểm thử cần thiết. Công việc được xem là hoàn tất khi các thao tác mở rộng đã chọn có thể được sử dụng thông qua các allocator của Boost.Interprocess mà không phụ thuộc vào các yêu cầu của container tiêu chuẩn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cpp
- Lĩnh vực
- operating-systems
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100