diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-13 14:18:53 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-15 18:09:30 +0100 |
commit | 6f4d85d2150c287432f7696659f22eeca0a0e1b2 (patch) | |
tree | 26c62c4d3e5c9ef68fe1fca006e3db9a18093f59 /lib/sqfs/block_processor/internal.h | |
parent | 6546c3f4a1d140024cb2ab2c90fbf192749a1bf7 (diff) |
Cleanup: block processor: remove delayed thread notification
Under the assumption that block processing is CPU bound and not I/O
bound, this is entirely useless.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/block_processor/internal.h')
-rw-r--r-- | lib/sqfs/block_processor/internal.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqfs/block_processor/internal.h b/lib/sqfs/block_processor/internal.h index 71f8fab..4fd2728 100644 --- a/lib/sqfs/block_processor/internal.h +++ b/lib/sqfs/block_processor/internal.h @@ -82,7 +82,6 @@ struct sqfs_block_processor_t { sqfs_compressor_t *cmp; sqfs_block_t *frag_block; - bool notify_threads; sqfs_block_writer_t *wr; sqfs_block_processor_stats_t stats; @@ -128,8 +127,7 @@ SQFS_INTERNAL int test_and_set_status(sqfs_block_processor_t *proc, int status); SQFS_INTERNAL -int append_to_work_queue(sqfs_block_processor_t *proc, sqfs_block_t *block, - bool notify_threads); +int append_to_work_queue(sqfs_block_processor_t *proc, sqfs_block_t *block); SQFS_INTERNAL int wait_completed(sqfs_block_processor_t *proc); |