Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When one thread lock any method after that other process comes and try to access locked method it does give any exception or any notification that method is locked, it just don't execute that method.
I want any notification or any exception on that case.
Posted
Comments
Richard MacCutchan 30-Oct-14 7:41am    
How are you testing to see if the method is locked?
Xiao Ling 30-Oct-14 20:14pm    
If it is locked, you have to unlock it first

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900