OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MAX_IO_JOBS
(Results
1 - 2
of
2
) sorted by relevancy
/src/external/bsd/zstd/dist/programs/
fileio_asyncio.h
15
* Each IO pool supports up to `
MAX_IO_JOBS
` that can be enqueued for work, but
32
#define
MAX_IO_JOBS
(10)
48
void* availableJobs[
MAX_IO_JOBS
];
75
void* completedJobs[
MAX_IO_JOBS
];
fileio_asyncio.c
170
/* We want
MAX_IO_JOBS
-2 queue items because we need to always have 1 free buffer to
172
assert(
MAX_IO_JOBS
>= 2);
173
ctx->threadPool = POOL_create(1,
MAX_IO_JOBS
- 2);
187
ctx->totalIoJobs = ctx->threadPool ?
MAX_IO_JOBS
: 2;
424
assert(ctx->completedJobsCount <
MAX_IO_JOBS
);
Completed in 61 milliseconds
Indexes created Mon Jun 29 00:24:49 UTC 2026