diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-12 14:23:17 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-12 16:43:01 +0100 |
commit | f274c6a208bb329298f83f05d0f9fe8e1a8b5423 (patch) | |
tree | f709fc72cdb07a0f059bf69e6db2439bf330c780 /lib/compat/path_to_windows.c | |
parent | 6d4faedcb53f54253160f1717fac609f922ae0c7 (diff) |
Don't kick off the threads until the queue is full
The idea is as follows: Initially let the user submit blocks until the
queue is filled, then kick of the threads. Every thread will end up
getting a block without any waits until they completely deplete the
queue. Assuming the threads take longer to process the data than it
takes the main thread to do I/O and submit new blocks, the queue should
stay mostly filled with minimal wait times.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/compat/path_to_windows.c')
0 files changed, 0 insertions, 0 deletions