summaryrefslogtreecommitdiff
path: root/thirdparty/zstd/common/pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/zstd/common/pool.h')
-rw-r--r--thirdparty/zstd/common/pool.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/thirdparty/zstd/common/pool.h b/thirdparty/zstd/common/pool.h
index 50cb25b12c..386cd674b7 100644
--- a/thirdparty/zstd/common/pool.h
+++ b/thirdparty/zstd/common/pool.h
@@ -32,6 +32,11 @@ POOL_ctx *POOL_create(size_t numThreads, size_t queueSize);
*/
void POOL_free(POOL_ctx *ctx);
+/*! POOL_sizeof() :
+ return memory usage of pool returned by POOL_create().
+*/
+size_t POOL_sizeof(POOL_ctx *ctx);
+
/*! POOL_function :
The function type that can be added to a thread pool.
*/