Semaphore constructor

Semaphore(
  1. int _permits
)

Implementation

Semaphore(this._permits) : assert(_permits > 0);