Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3316

Re: A question about synchronized threads

From Jukka Lahtinen <jtfjdehf@hotmail.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: A question about synchronized threads
Organization none
References <3f249d87-aaf8-4732-9ee8-fd112cf82553@f31g2000pri.googlegroups.com> <68sr88-fuj.ln1@dagon.net> <ipfjtm$ljk$2@speranza.aioe.org>
Date 2011-04-30 10:29 +0300
Message-ID <m3ei4kxkll.fsf@despammed.com> (permalink)

Show all headers | View raw


Alice <quaxx1108@example.com> writes:
> On 29/04/2011 6:55 PM, Dagon wrote:
>> byhesed<byhesed@gmail.com>  wrote:

>>> The book explains above code:
>>>     Given an instance a of class A, when one thread is executing
>>> a.m1(), another thread will be prohibited from executing a.m1() or a.m2().

>> Throw this book away and get a better one

> Why? The statement he quoted is perfectly accurate.

..and the OP didn't even specify which book was quoted. (At least I
didn't spot the name of the book or the author.)
So nothing we have seen so far indicates anything wrong in the book.

-- 
Jukka Lahtinen

Back to comp.lang.java.programmer | Previous | Next | Find similar


Thread

Re: A question about synchronized threads Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2011-04-30 10:29 +0300

csiph-web