Data Concurrency - Happens Before relationship

Data System Architecture

Data Concurrency - Happens Before relationship

About

The happens-before relationship is simply a guarantee that memory writes by one specific statement are visible to another specific statement.

The results of a write by one thread are guaranteed to be visible to a read by another thread only if the write operation happens-before the read operation.

And so to avoid a memory consistency problem.

Solution





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...



Share this page:
Follow us:
Task Runner