whilew synchronizing a thread why is it necessary to synchronize on a obj
when it is already inside a synchronized method ?

Iis it not that it belongs to the synchronized block and thus have mutual
exclusion. ?


ex: public class classEexample{

        synchronized void process(){

            synchronized(the class lock){


    }

}


Thanks


SANJUKTA

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to