Skip to content

Instantly share code, notes, and snippets.

@jitpaul
Created April 26, 2018 07:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jitpaul/213f0b2ad133e209816343092a464db9 to your computer and use it in GitHub Desktop.
Save jitpaul/213f0b2ad133e209816343092a464db9 to your computer and use it in GitHub Desktop.
Multithreading1
#include <iostream>
#include <thread>
using namespace std;
int main() {
cout<<thread::hardware_concurrency();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment