|
| Total Answers and Comments: 6 |
Last Update: April 21, 2008 |
|
| | |
|
No best answer available. Please pick the good answer available or submit your answer. | |
October 07, 2005 10:35:55 | #4 |
| abhishekgowl@yahoo.co.in |
|
Member Since: October 2005 Contribution: 9 |
RE: Can a lock be acquired on a class
| Simply Locking a Thread means to do operation only at once you can Lock the Thread by simple put a keywork sychronize in the front of the method. Like Synchronize m1() { } |  | | Is this answer useful? Yes | No | | |
|
| |
|
October 07, 2005 10:40:03 | #5 |
| abhishekgowl@yahoo.co.in |
|
Member Since: October 2005 Contribution: 9 |
RE: Can a lock be acquired on a class
| Simply Locking a Thread means to do operation only at once you can Lock the Thread by simple put a keywork sychronize in the front of the method. Like Synchronize m1() { } |  | | Is this answer useful? Yes | No | | |
|
| |
Go To Top
|