Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lepl1503-2020-groupe-M2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent Paucot
lepl1503-2020-groupe-M2
Commits
46e42401
Commit
46e42401
authored
May 12, 2020
by
Laurent Paucot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
programme final
parent
c690ce02
Pipeline
#10814
passed with stage
in 0 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
Makefile
Makefile
+1
-1
README.md
README.md
+1
-1
main.c
main.c
+1
-1
run.h
run.h
+0
-2
No files found.
Makefile
View file @
46e42401
...
...
@@ -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
...
...
README.md
View file @
46e42401
...
...
@@ -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 :
...
...
main.c
View file @
46e42401
...
...
@@ -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
{
...
...
run.h
View file @
46e42401
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment