Skip to content

shaur97/PrimeNumberThreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

PrimeNumberThreading

This project explores multiple ways of finding the number of prime numbers upto 100 million.
There are 3 ways to do this:

  1. Single threaded simple calculation to check whether a number is prime or not.
  2. Batched unfair multithreaded approach by creating batches of 10 million each and assigning to 10 threads
  3. Fair multithreading where shared atomic variables are updated by multiple threads running concurrently to make sure each thread takes the same amount of time

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages