Glossary: Swift Beyond the Basics
reentrancy
Also written: reentrant
While an actor's method waits at an `await`, other calls can run on the actor, so its state may change in between. Set a flag before the first `await` to guard against double syncs.