Posts by Bruno D. • 9 points
2 posts
-
0
votes0
answers22
viewsQ: Multithreads running the same function in parallel
I’m trying to get this code to run the function calculaPrimo() on each thread in parallel to find prime numbers in a range of 1 up to the maximum value passed via command line, for example if the…
-
0
votes1
answer79
viewsQ: compiles code but does not work, just successfully finishes
Well I am new to the C language and I decided to venture into the world of multithreads, I thought of making a program that would find primes in a range from 1 to N, and for that I would divide the…