GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::experimental::pmr::pool_options(3) C++ Standard Libary std::experimental::pmr::pool_options(3)

std::experimental::pmr::pool_options - std::experimental::pmr::pool_options


Defined in header <experimental/memory_resource>
struct pool_options {


std::size_t max_blocks_per_chunk = 0; (library fundamentals TS)
std::size_t largest_required_pool_block = 0;


};


The struct std::experimental::pmr::pool_options contains a set of constructor
options for std::experimental::pmr::synchronized_pool_resource and
std::experimental::pmr::unsynchronized_pool_resource.


Data members


the maximum number of blocks that will be
std::size_t max_blocks_per_chunk allocated at once from the upstream memory
resource to replenish a pool
(public member object)
the largest allocation size that is required
std::size_t largest_required_pool_block to be fulfilled through the pooling
mechanism
(public member object)


If the value of max_blocks_per_chunk is zero or greater than an
implementation-defined limit, that limit is used instead. The implementation may use
a smaller value than is specified and may use different values for different pools.


If the value of largest_required_pool_block is zero or greater than an
implementation-defined limit, that limit is used instead. The implementation may use
a threshold greater than specified in this field.


a thread-safe memory_resource for managing allocations
synchronized_pool_resource in pools of different block sizes
(class)
a thread-unsafe memory_resource for managing
unsynchronized_pool_resource allocations in pools of different block sizes
(class)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.