Never try to play with other people around you
for you may never know that they play better than you
Great words by Adolf Hitler:
Dont share your secrets with anybody
‘cos if you-yourself cannot keep your secrets Dont expect somebody else to keep it for you.
So here is the problem..
I need to make sure only 3 thread access a resource per second. I have n number of threads that make this request. Any solutions?