We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf1aae commit fd74043Copy full SHA for fd74043
include/srsran/support/memory_pool/fixed_size_memory_block_pool.h
@@ -180,8 +180,8 @@ class fixed_size_memory_block_pool
180
// Local cache is full. Rebalance by sending batches of blocks to central cache.
181
// We leave one batch in the local cache.
182
for (unsigned i = 0; i != max_local_batches - 1; ++i) {
183
- report_fatal_error_if_not(central_mem_cache.try_enqueue(w_ctx->local_cache.back()),
184
- "Failed to push batch to central cache");
+ report_fatal_error_if_not(central_mem_cache.enqueue(w_ctx->local_cache.back()),
+ "Failed to push allocated batch back to central cache");
185
w_ctx->local_cache.pop_back();
186
}
187
0 commit comments