tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: svn commit: r1051539 - /tomcat/trunk/java/org/apache/tomcat/util/threads/CounterLatch.java
Date Thu, 30 Dec 2010 20:27:52 GMT
On 30.12.2010 15:28, sebb wrote:
> On 29 December 2010 02:17, Filip Hanik - Dev Lists<devlists@hanik.com>  wrote:
>> On 12/28/2010 5:02 PM, sebb wrote:
>>> On 22 December 2010 16:04, Filip Hanik - Dev Lists<devlists@hanik.com>
>>>> On 12/21/2010 7:29 PM, sebb wrote:
>>>>> It would be cheaper to make it final as it's only ever set in the ctor
>>>>> and is immutable.
>>>>
>>>> nothing cheaper, volatile are only expensive to write, not read.
>>>
>>> That's not my understanding of how volatile works.
>>
>> there is a great book on concurrency that explains how the bus and cpu
>> architectures handle these, if I remember the title of it, I will send it to
>> you
>
> Please do.

Maybe Filiup meant that one:

Multicore Application Programming: For Windows, Linux, and
Oracle Solaris (Developer's Library)
Darryl Gove
ISBN-10: 0321711378
ISBN-13: 978-0321711373

At least I recently found some intersting information in there.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message