diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-11-09 15:38:02 +0000 | 
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-11-09 15:38:02 +0000 | 
| commit | 653667f9dc9cc0169deeca1a82a60c2e91d5683a (patch) | |
| tree | ac900fcbc6efae43f50daa8009f04669eeebe02d /lib/common/pool.h | |
| parent | 299df5d48ce3c064ef926ac7814c278bcdc92db0 (diff) | |
Diffstat (limited to 'lib/common/pool.h')
| -rw-r--r-- | lib/common/pool.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common/pool.h b/lib/common/pool.h index 264c5c9ca7ea..08c63715aaa6 100644 --- a/lib/common/pool.h +++ b/lib/common/pool.h @@ -5,6 +5,7 @@   * This source code is licensed under both the BSD-style license (found in the   * LICENSE file in the root directory of this source tree) and the GPLv2 (found   * in the COPYING file in the root directory of this source tree). + * You may select, at your option, one of the above-listed licenses.   */  #ifndef POOL_H @@ -16,6 +17,7 @@ extern "C" {  #include <stddef.h>   /* size_t */ +#include "zstd_internal.h"   /* ZSTD_customMem */  typedef struct POOL_ctx_s POOL_ctx; @@ -27,6 +29,8 @@ typedef struct POOL_ctx_s POOL_ctx;  */  POOL_ctx *POOL_create(size_t numThreads, size_t queueSize); +POOL_ctx *POOL_create_advanced(size_t numThreads, size_t queueSize, ZSTD_customMem customMem); +  /*! POOL_free() :      Free a thread pool returned by POOL_create().  */  | 
