summaryrefslogtreecommitdiff
path: root/lib/tar/write_header.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-22 20:59:32 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-22 21:09:54 +0100
commit13c804062e9acc7f74850477679265e19704e65a (patch)
treecee1797ede03bfe9e6feb6e794c4d5a509b1840c /lib/tar/write_header.c
parente8cc53ad5fbac2cb2f578091125dc506f136bfde (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 'lib/tar/write_header.c')
0 files changed, 0 insertions, 0 deletions