https://github.com/matiascarabella/multithreading
C++ programs showcasing multithreading, concurrent programming, and parallel algorithms.
https://github.com/matiascarabella/multithreading
concurrency cpp multithreading parallel-algorithm threads
Last synced: about 1 month ago
JSON representation
C++ programs showcasing multithreading, concurrent programming, and parallel algorithms.
- Host: GitHub
- URL: https://github.com/matiascarabella/multithreading
- Owner: MatiasCarabella
- License: mit
- Created: 2024-06-14T02:17:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T02:17:35.000Z (6 months ago)
- Last Synced: 2025-03-01T07:37:51.602Z (3 months ago)
- Topics: concurrency, cpp, multithreading, parallel-algorithm, threads
- Language: C++
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multithreading in C++
This repository contains a collection of C++ programs exploring multithreading concepts, concurrent programming, and parallel algorithms.
## Contents
The repository includes:
- **Multithreading Basics**: Simple examples demonstrating how to create and manage threads in C++.
- **Concurrency**: Examples of concurrent data structures and synchronization primitives such as mutexes and condition variables.
- **Parallel Algorithms**: Implementation and usage examples of parallel algorithms provided by the C++ standard library.## Usage
Each .cpp file in the repository is a standalone example demonstrating a specific multithreading concept or technique. You can compile and run these programs individually to see how multithreading works in different scenarios.
## Prerequisites
To compile and run these examples, you need:
- A C++ compiler that supports C++11 or higher (e.g., GCC, Clang, Visual Studio).
- Basic knowledge of C++ programming and familiarity with multithreading concepts.## Running Examples
1. Clone the repository:
```
git clone https://github.com/MatiasCarabella/multithreading-cpp.git
cd multithreading-cpp
```
2. Compile and run individual files & examples## License
This project is licensed under the [MIT License](LICENSE)
## Acknowledgments
- [cppreference.com](https://en.cppreference.com/w/) - For C++ documentation and references.