https://github.com/stefanofiorentino/mutex_lock
mutex and resource managing example
https://github.com/stefanofiorentino/mutex_lock
cpp11 mutex-lock resource-management
Last synced: about 1 year ago
JSON representation
mutex and resource managing example
- Host: GitHub
- URL: https://github.com/stefanofiorentino/mutex_lock
- Owner: stefanofiorentino
- License: mit
- Created: 2017-11-15T22:10:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-17T13:41:23.000Z (over 8 years ago)
- Last Synced: 2025-01-31T16:56:43.773Z (over 1 year ago)
- Topics: cpp11, mutex-lock, resource-management
- Language: C++
- Size: 80.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mutex_lock
mutex and resource managing example
#valgrind
To show the real benefits from resource-management objects one should run
```$xslt
valgrind --leak-check=full ./test/Test -r xml -d yes --order lex "Solution that leaks"
```
and
```$xslt
valgrind --leak-check=full ./test/Test -r xml -d yes --order lex "Solution that doesn't leak"
```
# submodule
If you didn't `git clone --recursive https://github.com/stefanofiorentino/mutex_lock`, then you have to
```
git submodule update --init --recursive
```