]> git.hungrycats.org Git - bees/commit
throttle: don't hold the multilock during throttle
authorZygo Blaxell <bees@furryterror.org>
Mon, 23 Dec 2024 02:50:34 +0000 (21:50 -0500)
committerZygo Blaxell <bees@furryterror.org>
Sat, 4 Jan 2025 04:15:37 +0000 (23:15 -0500)
commit231593bfbc5f2d3e120ca619781df2078244ecc4
treec3183ff0a67cf871f54c7fce01c4adecd3d382e3
parentd4900cc5d5519aafc5eef2c79f52aca4e32e15c7
throttle: don't hold the multilock during throttle

Release the lock before entering the throttle sleep, so that other
threads can still run.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees-context.cc
src/bees-roots.cc