RE: FW: Thread-safety

2001-01-29 Thread Klemme, Robert, myview
hi all! > -Original Message- > From: Brian Goetz [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 27, 2001 3:15 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: FW: Thread-safety > [...] > Assuming jspx_init() might create an object (wh

Re: FW: Thread-safety

2001-01-26 Thread Brian Goetz
>This is a truly fascinating thread of discussion. However, from reading the >article _The "Double-Checked Locking is Broken" Declaration_ >(http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html) > >It seems to me that the following code is thread safe. > >if (_jspx_inited == fa