> > does anyone know of any free book on concurrent programming, whether
> > the general or one that is tied to concurrent java? i'll appreciate
[quoted text clipped - 16 lines]
> --
> Lew
dear lew, i have the sun tutorial on java as well as the jls but i
need something that explains the concepts or principles of concurrent
programming before i delve into the api itself. can you refer me to
any that is free and online? i checked up hoare monitors on wikipedia
but they're for OS.
Eric Sosman - 21 May 2007 20:21 GMT
cyprian wrote On 05/21/07 14:32,:
>>>does anyone know of any free book on concurrent programming, whether
>>>the general or one that is tied to concurrent java? i'll appreciate
[quoted text clipped - 22 lines]
> any that is free and online? i checked up hoare monitors on wikipedia
> but they're for OS.
Have you checked the Tutorial's section on concurrency?
http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html
There's also a section on concurrency considerations for
Swing programming:
http://java.sun.com/docs/books/tutorial/uiswing/concurrency/index.html

Signature
Eric.Sosman@sun.com
Lew - 22 May 2007 06:23 GMT
cyprian wrote:
>>>> does anyone know of any free book on concurrent programming, whether
>>>> the general or one that is tied to concurrent java?
Lew wrote:
>>> To get you started:
>>> <http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html>
cyprian wrote
>> dear lew, i have the sun tutorial on java as well as the jls but i
>> need something that explains the concepts or principles of concurrent
>> programming before i delve into the api itself. can you refer me to
>> any that is free and online? i checked up hoare monitors on wikipedia
>> but they're for OS.
> Have you checked the Tutorial's section on concurrency?
> http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html

Signature
Lew
Eric Sosman - 22 May 2007 13:14 GMT
> cyprian wrote:
>>>>> does anyone know of any free book on concurrent programming, whether
[quoted text clipped - 13 lines]
>> Have you checked the Tutorial's section on concurrency?
>> http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html
It was in the nature of a hint, intended to convey a message
something like "In what respects did the Tutorial's treatment of
concurrency fail to meet your need, that we may better understand
how to suggest alternatives?" Or, more simply: "Did you actually
follow the link you were given?"

Signature
Eric Sosman
esosman@acm-dot-org.invalid
Lew - 22 May 2007 14:14 GMT
>> cyprian wrote:
>>>>>> does anyone know of any free book on concurrent programming, whether
[quoted text clipped - 19 lines]
> how to suggest alternatives?" Or, more simply: "Did you actually
> follow the link you were given?"
I understood that. I just thought it might've been too subtle, so I repeated
it on the principle of "notice that a lot of people are pointing down the same
path".

Signature
Lew
cyprian - 22 May 2007 16:58 GMT
> >> cyprian wrote:
> >>>>>> does anyone know of any free book on concurrent programming, whether
[quoted text clipped - 26 lines]
> --
> Lew
thanks for the replies. am going right into the trenches right now.
thanks everyone
Lew - 22 May 2007 06:20 GMT
> dear lew, i have the sun [sic] tutorial on java [sic] as well as the jls but i
> need something that explains the concepts or principles of concurrent
> programming before i delve into the api itself. can you refer me to
> any that is free and online?
<http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html>
fits the bill perfectly, I should think, but there is also
<http://www.mcs.drexel.edu/~shartley/ConcProgJava/>
the first hit I got on Google for "Java concurrent programming".
Drexel is a pretty good university from all I've heard. That hit looked so
good I bookmarked it.
The second hit I got on Google looks pretty good, but might be a tad too
advanced for what you're asking for.
The third hit got me to free online material related to the book /Concurrent
Programming in Java/. which IIRC is pretty much the Bible on the subject:
<http://gee.cs.oswego.edu/dl/cpj/index.html>
I'm bookmarking this one, too.
I'm glad you made us do the googling for you. I don't think I'd've checked
out these goldmines of information if you'd done it yourself. Thank you.
> i checked up hoare monitors on wikipedia but they're for OS.
Uh, no, not exclusively or even primarily. Every implicit lock in a Java
object is a Hoare monitor. Besides, that's not what the Wikipedia article says:
<http://en.wikipedia.org/wiki/Monitor_%28synchronization%29>
makes it very clear that the idea is used in computer languages as well as
OSes. Searching Wikipedia for "Hoare monitor" turned up all sorts of computer
language references, such as
<http://en.wikipedia.org/wiki/Turing_Plus_%28programming_language%29>
The whole "synchronized" mechanism in Java is based on Hoare monitors.
<http://java.sun.com/docs/white/langenv/Threaded.doc1.html>
by Gosling himself, with Henry McGilton. Bookmarking.
For this one I didn't use Google because I remembered that Sun had stuff on
the subject, but I'm sure Google would tell you more still.

Signature
Lew