Skip to content

julianny-favinha/thread-and-fork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small programs to test threads and fork

Threads

Run g++ -pthread thread.cpp -o thread And ./thread <number in seconds to timeout>

Fork

Run g++ fork.cpp -o fork And ./fork <number in seconds to timeout>

Try to test with:

  • Number < 5
  • Number > 5 And see what happens to a variable 😆

About

Small programs to test threads and fork

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages