View Single Post
  #1 (permalink)  
Old 10-06-2008, 08:30 AM
piyu.sha piyu.sha is offline
Member
 
Join Date: Oct 2008
Posts: 18
piyu.sha is on a distinguished road
[SOLVED] Non-synchronized instance method of an Object
Can a thread call a non-synchronized instance method of an Object when a synchronized method is being executed ?

I am having difficulty understanding this synchronization stuff.

Assume if a Class has two methods
- method1 is synchronized instance method
- method2 is a regualr instance method

So in this scenario, can there be two threads calling these two methods in parallel for the same instance?
__________________
Live life king size
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Reply With Quote
Sponsored Links