Using read write locks (example in C)
Patreon ➤ / jacobsorber Courses ➤ https://jacobsorber.thinkific.com Website ➤ https://www.jacobsorber.com --- Using read write locks (example in C) // Mutex locks are our go-to lock when we need to protect data structures shared between multiple threads, but sometimes we need more. This video talks about the scenario where you have reader threads and writer threads and the reader/writer locks that can be very helpful (and more performant). Related Videos: Threads basics: • How to create and join threads in C (pthre... Thread safety and locks: • Safety and Speed Issues with Threads. (pth... *** Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers. About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab. More about me and what I do: https://www.jacobsorber.com https://people.cs.clemson.edu/~jsorber/ http://persist.cs.clemson.edu/ To Support the Channel: like, subscribe, spread the word contribute via Patreon --- [ / jacobsorber ] Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.heroku...]

False Sharing: Why your multi-threaded code is mysteriously so slow!

What is a semaphore? How do they work? (Example in C)

When do I use a union in C or C++, instead of a struct?

Constructors Are Broken

I Wish Someone Explained Linux Like This

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

How Much Memory for 1,000,000 Threads in 7 Languages | Go, Rust, C#, Elixir, Java, Node, Python

What is an object pool, and how to create one in C?

"Clean" Code, Horrible Performance

How to create and join threads in C (pthreads).

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

The Insane Genius of a Formula 1 Gearbox

How to Actually Learn C (2027 Edition)

Something is jamming GPS over Europe. Here's what we found

I Hacked This Temu Router. What I Found Should Be Illegal.

Coden & programmieren als Beamter: Was verdient ein IT-Projektleiter? | Lohnt sich das? | BR

Pulling Back the Curtain on the Heap

The AI Take Over Has Completely Backfired and I Can't Be Happier

