wait


Description:

public void wait ()

Waits until one permit is available and acquires it.

Use this when work must eventually run and short waiting is acceptable.