try Acquire
Tries to acquire the specified number of permits.
Return
true if permits were acquired, false otherwise
Parameters
permits
Number of permits to acquire
Tries to acquire the specified number of permits.
true if permits were acquired, false otherwise
Number of permits to acquire