diff --git a/README.md b/README.md index 518815573ef94d19db42dcbe5fb83b21e0b1c1b4..8588c6b7ba87054f9192129e739b14c7a4dbba64 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,15 @@ Welcome to project 3! This program allows to determine if a number is prime otherwise its prime dividers are calculated. -The numbers to be considered shall be in an file (*.txt) then the programme +The numbers to be considered shall be in an file (*.txt) then the program can be called with this sintax: ./fact [-N number_of_threads] input_file.txt output_file.txt Whether the number of threads is not defined, the default number of threads is 2. -The programme performance could not increase with a too high number of threads +The program performance could not increase with a too high number of threads because, above all, it will depend on the machine architecture (e.g. number of cores). -The maximum number of threads allowed by the programme is 20, nevertheless -the programme "fact" can be updated by changing the constant MAX_NO_THREADS +The maximum number of threads allowed by the program is 20, nevertheless +the program "fact" can be updated by changing the constant MAX_NO_THREADS (#define MAX_NO_THREADS 20).