[ARTICLE] Java Threads: A Faulty Concurrency Model

wxdqz

New Member
We have recently added a couple of interesting technical articles writtenby Jim Rogers to the CodeMages Community web site, the first one of thembeing "Java Threads: A Faulty Concurrency Model". Here's a synopsis of thisarticle:-----------------Java provides an unusually high level of support for creating threaded applications.Unfortunately, the mechanisms for safely communicating between threads easilylead to dangerous race conditions and deadlocks. While solutions to theseproblems do exist, they are messy at best, tending to cause violations ofgood object oriented design principles.-----------------For those who want to read more, visit the Coding | Java section of the CodeMagesCommunity web site and find the article at <!-- m --><a class="postlink" href="http://www.crystalcode.com/codemage/MainMenu/Coding/Java/JavaThreads.phpJim">http://www.crystalcode.com/codemage/Mai ... ads.phpJim</a><!-- m --> has rapidly become a major contributor to our community and his generouscontributions so far, include:----Title: Concurrent ProgrammingLocation: Coding | Programming Concepts, <!-- m --><a class="postlink" href="http://www.crystalcode.com/codemage/MainMenu/Coding/Programming_Concepts/ConcurrentProgramming.phpSynopsis:-----------------More">http://www.crystalcode.com/codemage/Mai ... ------More</a><!-- m --> and more software systems are being designed with concurrent programmingfeatures. Early concurrent systems were constructed from groups of cooperatingprocesses. Modern concurrent systems are being constructed in one processwith groups of cooperating threads. Concurrent processing promises dramaticperformance improvements. It also presents the developer with a new set ofdesign problems.---------------------Title: Shared Resource Design PatternsLocation: Coding | Programming Concepts, <!-- m --><a class="postlink" href="http://www.crystalcode.com/codemage/MainMenu/Coding/Programming_Concepts/SharedResourceDesignPatte.phpSynopsis:-----------------Concurrent">http://www.crystalcode.com/codemage/Mai ... Concurrent</a><!-- m --> programming requires control of access to shared resources. Experienceshows there are many common design patterns for shared resources. This paperexplores some of the common patterns for locking and buffering data, as expressedusing monitors.-----------------We would love to get some feedback on these articles in the form of an e-mailto <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> (which will be forwarded to Jim Rogers) or inthe form of a discussion with Jim Rogers (aka WanderingInstructor) on theCodeMages Community Forum.Also, our brand new developers community needs more serious contributorslike Jim who can write high quality technical articles about software developmentor web design techniques. For more information and other contribution possibilitiesplease write to <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> or visit the CodeMages Communityweb site at <!-- m --><a class="postlink" href="http://www.crystalcode.com/codemageThanks">http://www.crystalcode.com/codemageThanks</a><!-- m --> for your time,----CodeMageThe CodeMages Community------------E-mail: <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> site: <!-- m --><a class="postlink" href="http://www.crystalcode.com/codemageForum">http://www.crystalcode.com/codemageForum</a><!-- m -->: <!-- m --><a class="postlink" href="http://www.crystalcode.com/codemageforum(register">http://www.crystalcode.com/codemageforum(register</a><!-- m --> for free at <!-- m --><a class="postlink" href="http://www.crystalcode.com/codemageforum/member.php?action=regto">http://www.crystalcode.com/codemageforu ... tion=regto</a><!-- m --> join in the discussions)
 
Top