/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.regehr.org
| | jakascorner.com

[AI summary] The article explains data races in concurrent programming and demonstrates how to use mutexes to resolve them, illustrated with C++ code examples.
1.5 parsecs

Travel
| |
| | loonytek.com

In this post, I will talk about usage of volatile fields in Java and how volatile is different from synchronized. Both volatile and synchronized are used in multi-threaded programs to get some degree of thread safety depending on the operations performed by different threads. Consider the following piece of code class VolatileDemo { private int...
5.3 parsecs

Travel
| |
| | ncona.com

In this article we are going to learn what is concurrency in computer systems. To understand it better, we'll see what are the problems that occur when there is concurrency and what are some ways to prevent those problems. What is concurrency? Concurrency referes to the ability of a computer system to do different things at the same time. We see concurrency in action in our computers when there are multiple programs executing at the same time. We can be playing some music in our computer and at the same ...
4.6 parsecs

Travel
| |
| | openmymind.net

Getting started with Zig's meta programming capabilities by leveraging a few useful functions
23.5 parsecs

Travel
|