Concurrency - Thread Safe

Data System Architecture

About

Threads communicate primarily by sharing access to fields and the objects reference fields refer to. This form of communication is extremely efficient, but makes two kinds of errors possible:

The tool needed to prevent these errors is synchronization.





Discover More
Data System Architecture
Concurrency - Synchronization

Synchronization insures thread safety by preventing the same code being run by two different threads at the same time. When a code (object, method) has a synchronized property, if a thread enter a synchronized...
Java Conceptuel Diagram
Java Concurrency - (Queue|Stack)

and in Java concurrency context Interface and Implementation The java/util/concurrent/BlockingQueueBlockingQueue interface defines a first-in-first-out data structure that blocks or times out...



Share this page:
Follow us:
Task Runner