Skip to content

lukanthrope/linux-multithreading-examples

Repository files navigation

linux-multithreading-examlpes

to run

g++ -pthread -o output main.cpp
./output

to run the fouth example

g++ -fPIC -shared mutex.cpp -o shared_lib.so
g++ use_shared.cpp -ldl -pthread  -o shared_build
./shared_build

About

c++ linux multithreading examples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages