Everything You Need to Know About Multithreading: The Realistic Release Consistency [Part 2]by@xylophoon
394 reads
394 reads

Everything You Need to Know About Multithreading: The Realistic Release Consistency [Part 2]

by Bi-Gee13mNovember 4th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The most common memory consistency model in practice is release consistency, release consistency. The beauty of this consistency is that while it's much cheaper for systems to implement, given proper locking however, we can formally prove that it is equivalent to sequential consistency. Locks are so essential to release consistency's intuition and implementation and implementation. We can also write a full program that produces this result: <iostream> # include <thread> int id = 0 ; int my_id[ 2 ; int j = 0; int output[ 2 ] ; int output = 1; void func0() { for (;;) return 0; } return

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Everything You Need to Know About Multithreading: The Realistic Release Consistency [Part 2]
Bi-Gee HackerNoon profile picture
Bi-Gee

Bi-Gee

@xylophoon

Xoogler, Ph.d in computer systems. Startuper in the San Francisco bay area.

About @xylophoon
LEARN MORE ABOUT @XYLOPHOON'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Bi-Gee HackerNoon profile picture
Bi-Gee@xylophoon
Xoogler, Ph.d in computer systems. Startuper in the San Francisco bay area.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!