lock
(billingEngine)
{
// ... verschillende wijzigingen op de BillingEngine
billingEngine.UpdateAmounts();
}