Skip to content

Commit d437d6c

Browse files
committed
Use eight level of critnibs in the tracker
Multilevel maps are needed to support the case when one memory pool acts as a memory provider for another memory pool (nested memory pooling). Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 965fc67 commit d437d6c

File tree

2 files changed

+351
-82
lines changed

2 files changed

+351
-82
lines changed

include/umf/base.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ typedef enum umf_result_t {
4747
6, ///< Failure in user provider code (i.e in user provided callback)
4848
UMF_RESULT_ERROR_DEPENDENCY_UNAVAILABLE =
4949
7, ///< External required dependency is unavailable or missing
50-
UMF_RESULT_ERROR_UNKNOWN = 0x7ffffffe ///< Unknown or internal error
50+
UMF_RESULT_ERROR_OUT_OF_RESOURCES = 8, ///< Out of internal resources
51+
UMF_RESULT_ERROR_UNKNOWN = 0x7ffffffe ///< Unknown error
5152
} umf_result_t;
5253

5354
#ifdef __cplusplus

0 commit comments

Comments
 (0)