Skip to content
Extraits de code Groupes Projets
Valider 46e42401 rédigé par Laurent Paucot's avatar Laurent Paucot
Parcourir les fichiers

programme final

parent c690ce02
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #10814 réussi
......@@ -12,7 +12,7 @@ run.o : run.c run.h
gcc -g -std=c99 -o run.o -c run.c -W -Wall -lpthread
main.o : main.c run.h
gcc -g -std=c99 -o main.o -c main.c -W -Wall -lpthread -lm
gcc -g -std=c99 -o main.o -c main.c -W -Wall -lpthread
test.o : test.c run.h
......
......@@ -74,7 +74,7 @@ Note :
* Les diviseurs premiers d'un même nombre sont stockés dans une circular linked list
* Le nombre de threads de calcul par défaut est 4
* Le nombre de threads de calcul par défaut est 7
## Architecture des tests :
......
......@@ -11,7 +11,7 @@ int main(int argc, char *argv[]){
{
if (argc == 3){
int err = run(argv[1],argv[2],4);
int err = run(argv[1],argv[2],7);
if (err == -1){return EXIT_FAILURE;}
}
else{
......
......@@ -4,8 +4,6 @@
#include <unistd.h>
#include <pthread.h>
#include <semaphore.h>
#include <pthread.h>
#include <semaphore.h>
#define uint_64 unsigned long long
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter