Skip to content

Concurrent data structures and solutions to common concurrency problems using C++.

Notifications You must be signed in to change notification settings

Pilipets/ConcurrencyProblems

Repository files navigation

Recently, I encountered a problem with finding easy-to-use and easy-to-understand neat atomic/lock-free/concurrent data structures and solutions to common concurrency problems using C++20.

This repository is a solution to the above-described problems:

  • Atomic/Lock-free/Concurrent data-structures: stacks, queues, spinlocks;
  • Performance tests of different thread-safe data structures implementations;
  • ConcurrentPatterns: Multiplex, Barrier, SignalQueue, LightSwitch, ProducerConsumer, Double-checked locking;

I'm not claiming that implementations here are the most efficient ones since they are provided for educational purposes.

TODO:

  • Add simulation for concurrency patterns;
  • Add solutions to common concurrency problems;
  • Add hazard pointers implementation;
  • Add more implmentations of the concurrent data structures;

Used materials:

About

Concurrent data structures and solutions to common concurrency problems using C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published