summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-19 11:08:25 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-19 11:08:25 +0200
commit4943dd85a9190f4477bd5e98a83be1f5e2790d8d (patch)
tree08cb786a444450b1f8dd4a05e2103f6fd7a56e28 /m4
parent8b9eeb43c4f7d958972b8bf1fd39d19da570224b (diff)
Minor improvements for parallel block processor
- Fewer lock aquires in worker function - There is no point in locking/unlocking for inserting the completed block if we are going to lock again immediately in the next iteration -> Merge those two critical sections into one - Constant time queue insertion - Bypass queue entirely if there is nothing to do for a block Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions