serveWaitingCustomers

protected fun serveWaitingCustomers()(source)

Serves waiting customers while the resource has available units and the queue is not empty. Invoked when the resource's capacity increases.