aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-14 20:40:05 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-14 20:40:05 +0200
commit0fc141db5de0a635d7f20782e694636af18383f2 (patch)
treea9a1fc84494f7f5033248c409e13b53a49e19d25 /src/exact_value.cpp
parent3d13beb3eca4e8f17e751962074a25cdaeb846d1 (diff)
`core:mem/tlsf`: Add early-out in OOM logic
This implementation doesn't allow for out-of-band allocations to be passed through, as it's not designed to track those. Nor is it able to signal those allocations then need to be freed on the backing allocator, as opposed to regular allocations handled for you when you `destroy` the TLSF instance. So if we're asked for more than we're configured to grow by, we can fail with an OOM error early, without adding a new pool.
Diffstat (limited to 'src/exact_value.cpp')
0 files changed, 0 insertions, 0 deletions