diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-03-22 20:59:32 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-03-22 21:09:54 +0100 |
commit | 13c804062e9acc7f74850477679265e19704e65a (patch) | |
tree | cee1797ede03bfe9e6feb6e794c4d5a509b1840c /tests/libfstree | |
parent | e8cc53ad5fbac2cb2f578091125dc506f136bfde (diff) |
Threadpool: pre-emtively dequeue items after enqueing
When we already hold the mutex, try to pre-emtively dequeue items into
a "safe queue". When actually asked to dequeue, take blocks from there
first and avoid having to enter the critical section if possible.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libfstree')
0 files changed, 0 insertions, 0 deletions