summaryrefslogtreecommitdiff
path: root/unpack
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-12 14:23:17 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-12 16:43:01 +0100
commitf274c6a208bb329298f83f05d0f9fe8e1a8b5423 (patch)
treef709fc72cdb07a0f059bf69e6db2439bf330c780 /unpack
parent6d4faedcb53f54253160f1717fac609f922ae0c7 (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 'unpack')
0 files changed, 0 insertions, 0 deletions