Register for free!
1730 users online right now

[x]

Explore: Java, Threads

Canadian Content hasn't compiled information about yet!
This page was last updated on August 29th, 2008
Java (from Threads)
Canadian Content » Computers » Programming » Threads » Java »
Thread Synchronization in JavaThread Synchronization in Java
Producer Consumer, Dining Philosophers, Reader Writer problems. Applet demonstration, design diagram. Source code accessable by e-mail request.
mdthreadmdthread
Message Driven Thread API for Java, which enables deadlock safe, multithreaded, concurrent, high level communication between threads.
Achieve Strong Performance With Threads, Part 4Achieve Strong Performance With Threads, Part 4
Focuses on thread groups, volatility, thread-local variables, timers, and the ThreadDeath class. Also describes how various thread concepts combine to finalize objects.
Implementing Read-Write Locks in JavaImplementing Read-Write Locks in Java
Read-write locks allow multiple threads to acquire a read lock provided no other thread currently has a write lock on the same object. A thread can acquire a write lock if no other thread owns either a read lock or a write lock.
Warning! Threading in a Multiprocessor WorldWarning! Threading in a Multiprocessor World
Many authors advocate the double-checked locking idiom to access a Singleton object in an intuitively thread-safe way. Unfortunately, for counterintuitive reasons, double-checked locking doesn't work in Java.
Multi-Threading -- The Next LevelMulti-Threading -- The Next Level
By Edward Harned. This article takes the multi-threading structures available today to the next level by making professional quality, Open Source code available to all programmers.
Double-checked Locking and the Singleton PatternDouble-checked Locking and the Singleton Pattern
Examines the roots of the double-checked locking idiom, why it was developed, and why it doesn't work.
Thread Pools and Work QueuesThread Pools and Work Queues
Explores the motivations for thread pools, some basic implementation and tuning techniques, and some common hazards to avoid.
Programming Java Threads in the Real World, Part 9Programming Java Threads in the Real World, Part 9
Discussion of two more architectural solutions to threading problems: a synchronous dispatcher (or 'reactor') and an asynchronous dispatcher (or 'active object').
Can ThreadLocal Solve the Double-checked Locking Problem?Can ThreadLocal Solve the Double-checked Locking Problem?
Explains how to fix the double-checked locking idiom by using thread-local variables and takes a look at its performance.
Programming Java Threads in the Real World, Part 5Programming Java Threads in the Real World, Part 5
Timers let you perform fixed-interval operations, such as animation refreshes.
Simple Java Thread Management Library (SJT.Mgmt)Simple Java Thread Management Library (SJT.Mgmt)
An easy to use library for adding thread management in Java applications. The library comes from early experience with JServ's lack of thread management, and recent posts to the java developer forums. [Open source]
Achieve Strong Performance With Threads, Part 2Achieve Strong Performance With Threads, Part 2
Explains synchronization, Java's synchronization mechanism, and two problems that arise when developers fail to use that mechanism correctly.
Programming Java Threads in the Real World, Part 2Programming Java Threads in the Real World, Part 2
Discusses the perils that can arise when you approach multithreading in a naive way.
Programming Java Threads in the Real World, Part 6Programming Java Threads in the Real World, Part 6
How to implement the Observer pattern (used by AWT/Swing for its event model) in a multithreaded environment.
Seminar: Concurrent Programming in JavaSeminar: Concurrent Programming in Java
A comprehensive course covering all aspects of multi-thread programming in Java from plain synchronization over Java 5.0 concurrency utilities to memory model issues.
Threads 101Threads 101
Explains from the ground up how to get threads work correctly. (Chuck Allison)
Programming Java Threads in the Real World, Part 1Programming Java Threads in the Real World, Part 1
Discusses the things you need to know to program threads in the real world. This article assumes you understand the language-level support for threads and focuses on the legion of problems that arise when you try to use these language features.
Thread Synchronization in Java (Sources)Thread Synchronization in Java (Sources)
Introduces basic concurrency problems and shows how to solve them by using builtin Java synchronization primitives. (Only sources free accessed without registration)
Programming Java Threads in the Real World, Part 3Programming Java Threads in the Real World, Part 3
Looks at how and why you might want to roll your own exclusion semaphores, and presents a lock manager that will help you safely acquire multiple semaphores.
Avoid Synchronization DeadlocksAvoid Synchronization Deadlocks
Explains how to apply consistent rules for acquiring multiple locks simultaneously, to reduce the likelihood of synchronization deadlocks.
Hey, where'd my thread go?Hey, where'd my thread go?
If you're not careful, threads can disappear from server applications without a (stack) trace. In this article, threading expert Brian Goetz offers some techniques for both prevention and detection of threads going AWOL.
Achieve Strong Performance With Threads, Part 3Achieve Strong Performance With Threads, Part 3
Explains how priority relates to thread scheduling and how to use the wait/notify mechanism to coordinate the activities of multiple threads.
Writing Multithreaded Java ApplicationsWriting Multithreaded Java Applications
Introduces the Java Thread API, outlines issues involved in multithreading, and offers solutions to common problems.
The "Double-Checked Locking is Broken" DeclarationThe "Double-Checked Locking is Broken" Declaration
Details on the reasons - some very subtle - why double-checked locking cannot be relied upon to be safe. Signed by a number of experts, including Sun engineers.
Singletons with Needles and ThreadSingletons with Needles and Thread
Presents two approaches to creating thread-safe singletons.
Safe construction techniquesSafe construction techniques
Concurrent programming in Java applications is more complicated than it looks: there are several subtle (and not so subtle) ways to create data races and other concurrency hazards in Java programs. In this installment of Java theory and practice, Brian Go
Java Technology, Threads, and Scheduling in LinuxJava Technology, Threads, and Scheduling in Linux
Examines the performance of the Linux kernel when the system is running a heavily threaded Java program using the IBM Java Developer Kit for Linux.
Threading Lightly: Synchronization is not the EnemyThreading Lightly: Synchronization is not the Enemy
Takes a look at the semantics and the performance penalty of Java's synchronized keyword.
Why Thread Pools are Important in JavaWhy Thread Pools are Important in Java
Explains the use of thread pools to create better performing applications.
Threading Lightly: Reducing ContentionThreading Lightly: Reducing Contention
Explains why contended synchronization is a problem and then explores several techniques for reducing contention, and hence improving scalability.
Threading Lightly: Exploiting ThreadLocal to Enhance ScalabilityThreading Lightly: Exploiting ThreadLocal to Enhance Scalability
Examines ThreadLocal and offers tips for exploiting its power.
Can Double-Checked Locking be Fixed?Can Double-Checked Locking be Fixed?
In this article, Brian Goetz looks at some of the commonly proposed fixes and shows how each of them fails to render the DCL idiom thread-safe under the Java Memory Model.
Achieve Strong Performance With Threads, Part 1Achieve Strong Performance With Threads, Part 1
Gives an introduction to threads and explores the Thread class and runnables.
Double-Checked Locking: Clever, but BrokenDouble-Checked Locking: Clever, but Broken
Though many Java books and articles recommend double-checked locking, unfortunately, it is not guaranteed to work in Java.
Programming Java Threads in the Real World, Part 7Programming Java Threads in the Real World, Part 7
Reader/writer locks let multiple threads safely access a shared resource in an efficient way.
A Proposal for Fixing the Java Programming Language's Threading ProblemsA Proposal for Fixing the Java Programming Language's Threading Problems
Java's threading model is entirely inadequate for programs of realistic complexity and isn't in the least bit object oriented.
CancellationCancellation
Discussion of thread cancellation techniques in Java. (excerpt from Doug Lea's Concurrent Programming in Java book)
Ease Your Multithreaded Application ProgrammingEase Your Multithreaded Application Programming
Takes a look at one of the most-used constructs in multithreaded programming: the producer-consumer scenario. Also shows a Consumer class which facilitates code reuse and simplifies debugging and maintenance in some multithreaded applications.
Programming Java Threads in the Real world, Part 4Programming Java Threads in the Real world, Part 4
A condition variable adds to wait the ability to not wait when the condition you're waiting for has already taken place; and a counting semaphore lets you control a pool of resources without sucking up machine cycles in polling loops.
Multi-threading in JavaMulti-threading in Java
Article by Neel V. Kumar. A tour in the land of multithreading in Java. Introduces the mechanisms and demonstrates how to use them in limited but very common cases.
Programming Java Threads in the Real World, Part 8Programming Java Threads in the Real World, Part 8
Discusses architectural solutions to threading problems. Takes a look at threads from the perspective of an object-oriented designer, and at how to implement threads in an object-oriented environment, focusing on the implementation of asynchronous methods

Threads >> Java yielded other results on Canadian Content:


Java Ribs
Java Ribs Food, Cooking & Recipes
Java -Sudoku Download - Puzzle Games
Java -Sudoku: Java version of the popular Sudoku game
Apycom Java Menus and Buttons Download - HTML Accessories
Apycom Java Menus and Buttons: Apycom Java Menus and Buttons is a versatile, ready-made solution th
Download Java -Sudoku - CanCon
Download Java -Sudoku. Product description: Java version of the popular Sudoku game
Download Apycom Java Menus and Buttons - CanCon
Download Apycom Java Menus and Buttons. Product description: Apycom Java Menus and Buttons is a ver


--