Re: Tecnic of synchronization for Servers RMI
Esmond Pitt <[email protected]> Mon, 14 Aug 2006 17:02:37 +1000
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Organization | Melbourne Software Company |
| Message-ID | <20060814065839.ORPL11832.omta05sl.mx.bigpond.com@toshibakx1wgjb> |
> Ok, ok... But in this way my int iRetorno and my reference UGTO > variables will be have concurrent access, no? Certainly not. iRetorno is a local variable and UGTO is a method parameter; both are intrinsically thread-local by the way they are defined. Neither needs synchronization. EJP =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html