diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-03-20 16:46:22 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-03-21 17:29:18 +0100 |
commit | a18f724aa3bf57aeed285b5f61eca4a0ba891c21 (patch) | |
tree | ce90fb7fd9494f340efc3416ab769353d480f82b /lib/sqfs/block_writer.c | |
parent | 977aa1d0d29b5b48b31279d7709a7209001ee309 (diff) |
Add a thread pool implementation to libutil
The thread pool enforces ordering of items during dequeue similar
to the already existing implementation in libsqfs. The idea is to
eventually pull this functionality out of the block processor and
turn it into a cleaner, separately tested module.
The thread pool is implemented as an abstract interface, so we can
have multiple implementations around, including the serial fallback
implementation which we can then *always* test, irregardless of the
compile config and run through static analysis as well.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/block_writer.c')
0 files changed, 0 insertions, 0 deletions