https://github.com/sebastianbecker2/multithreading
Demo apps to show multithreading issues
https://github.com/sebastianbecker2/multithreading
demo-apps multithread
Last synced: 11 months ago
JSON representation
Demo apps to show multithreading issues
- Host: GitHub
- URL: https://github.com/sebastianbecker2/multithreading
- Owner: SebastianBecker2
- License: mit
- Created: 2020-12-11T10:52:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T17:50:45.000Z (about 4 years ago)
- Last Synced: 2025-02-06T10:53:22.865Z (about 1 year ago)
- Topics: demo-apps, multithread
- Language: C#
- Homepage:
- Size: 101 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multithreading
[](https://ci.appveyor.com/project/SebastianBecker2/multithreading/branch/master)
Demo apps to show multithreading issues
It contains a Notes.txt file with some links and buzzwords regarding multithreading.
And a power point presentation on how multiple cores can be used for data processing.
As well as four projects, which try to visualize issues that come up when implementing multithread.
IntegerIncrement:
Shows how a simple operation like incrementing an integer in C++ is not an atomic operation by default.
ConcurrentConsoleOutput:
Shows how accessing a shared resource from multiple threads can cause issues. And how those can be solved with locking.
AsyncOperations:
[Not to be confused with C#'s async-await feature] Shows how longer operations can be made asynchronious using a separate thread.
Well... kinda. It just shows that it's possible. It's obviously not best practice to do it that way.
DataProcessing:
Shows how multiple cores can be utilized for complex data processing.