View Single Post
  #1 (permalink)  
Old 07-31-2007, 05:39 PM
simon simon is offline
Member
 
Join Date: Jul 2007
Posts: 44
simon is on a distinguished road
doubt about synchronized
I have a method which is a synchronized method (for example, method Foo in the following code block) and in this synchronized method another method which is not synchronized is invoked (for example, method Goo in the following code block). I'm wondering when executing in Goo from Foo, whether we still have the synchronized feature
Code:
synchronized public Foo() { Goo(); } private Goo() { }
Reply With Quote
Sponsored Links