Best book on the subject of concurrency in Java: "Concurrent Programming in
Java", by Doug Lea. As the author of another book put it, "Anybody who
implements Runnable had better read this book."
Ted Neward
Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here
http://www.javageeks.com/~tneward
"I don't even speak for myself; my wife won't let me." --Me
-----Original Message-----
From: Nic Ferrier <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, September 07, 1999 9:58 AM
Subject: Re: Thread Safety
>>>> Dino Valente <[EMAIL PROTECTED]> 9/7/99 4:36:47 PM >>>
>>I would have to call synchronize(this) every single time I needed to
>access
>>instance1 and instance2? How could this be (I'm only accessing and
>never
>>setting)? Could you explain?
>
>Ah...
>
>If you had emphasized ACCESS I would have known what you meant.
>
>No, you don't *have* to.
>
>You should through, it is bad practice not to (but we all do it).
>
>
>
>Nic
>
>___________________________________________________________________________
>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
___________________________________________________________________________
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