What is the best way to implement this scenario.
User1, User2, User3, ...User[n]
If User1 is currently being used, there needs to be a lock so you can't allocate that resource until that resource is finished and back into the pool of resources.
Thanks
Go to the complete details ...