You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should do some kind of sense check to now allow available resources to be greater than that defined inside your semaphore, raising an error. Otherwise you can end up with nothing at all locking.
Silly example, but an easy mistake!
s.lock(60)dos.unlockend
The text was updated successfully, but these errors were encountered:
It should do some kind of sense check to now allow available resources to be greater than that defined inside your semaphore, raising an error. Otherwise you can end up with nothing at all locking.
Silly example, but an easy mistake!
The text was updated successfully, but these errors were encountered: