Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: Recommendations for Lightweight Threading? Date: Sat, 16 Jun 2012 14:39:18 +0200 Lines: 34 Message-ID: References: <6cOdnc4jyrPwXEbSnZ2dnUVZ_oUAAAAA@giganews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net eYf0SyMAH1r98zuoJFe8nwcLkL0EK3Ia/Af0CxDRyPrY8WmIK+wNT6MuMoW+/ALFU= Cancel-Lock: sha1:85799EtXFFJDPNEipzembWRRo/c= User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:15330 On 16.06.2012 01:31, markspace wrote: > On 6/15/2012 4:12 PM, Aaron W. Hsu wrote: >> On Fri, 15 Jun 2012 15:55:39 -0700, markspace wrote: >> >>> There are of course libraries in the Java API. Be sure to check out the >>> java.util.concurrent package. Actually using Thread directly is >>> considered noobish these days. >> >> I was not aware of the java.util.concurrent package, but it looks like it >> contains pretty much all of the serious things that I want to use or work >> with. Thank you. > > > Good. I've experimented with that package quite a bit, and I also found > it very intelligently designed. If you're not familiar with the Java > memory model, I recommend Java Concurrency in Practice by Brian Goetz. > (Even if you are familiar with the Java memory model, I still recommend > that book. It's very very good.) It's pretty much the be-all and end-all > of Java concurrency. Also "Concurrent Programming in Java" by Doug Lea (who did most of java.uti.concurrent.* AFAIK) is a very good read. http://www.informit.com/store/product.aspx?isbn=0201310090 His homepage is at http://g.oswego.edu/ Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/