Commit graph

45 commits

Author SHA1 Message Date
1ab599d606
allocate multiple condition variable but currently only use one, also cleanup helper function to keep track of allocations 2024-04-21 14:27:32 +02:00
8f42b8ba7b
fix error when archived 2024-04-21 12:03:46 +02:00
e785595158
todo 2024-04-21 11:58:42 +02:00
92e9c86e25
threads->coeurs 2024-04-21 11:58:12 +02:00
f42f7d91ba
upload data 2024-04-21 11:57:41 +02:00
8145b32754
wip: report 2024-04-21 11:57:37 +02:00
1f73e4df20
add metadata 2024-04-21 10:19:54 +02:00
84542ea165
chore 2024-04-21 10:04:30 +02:00
00ca8babbb
var name changes 2024-04-20 21:23:40 +02:00
9ebd5e0a2d
Revert "random task" as it's not efficient compared to simply taking the top task
This reverts commit 274c2d6160.
2024-04-20 21:15:46 +02:00
a7d1ca5964
comments 2024-04-20 21:15:31 +02:00
fb7eb7e6ae
report 2024-04-20 20:41:25 +02:00
6fb51eb0fd
fmt 2024-04-20 20:22:49 +02:00
98da230a0c
update 2024-04-20 20:22:09 +02:00
274c2d6160
random task 2024-04-20 20:20:54 +02:00
808d869d53
use O2 instead of O3 2024-04-20 15:42:32 +02:00
7ed34b152e
useless includes 2024-04-20 15:41:41 +02:00
18d38b46d7
cleanup tex 2024-04-20 14:39:56 +02:00
f12bcee6f2
newline 2024-04-19 21:59:09 +02:00
c0eb95ea38
fix memory leak 2024-04-19 21:16:04 +02:00
dc6a96abe7
better name 2024-04-19 16:27:58 +02:00
4ecc92f7ff
yay! 2024-04-19 16:24:54 +02:00
e97e332c3f
modifications
* move some .h code in .c
* remove unnecessary typedef
* use number of sleeping threads instead of global exit variable
* add some error verification
* use qlen variable

it currently works but probably janky as hell
2024-04-19 16:06:56 +02:00
6b891cf338
reformat, following initial convention 2024-04-19 15:33:03 +02:00
f95dcaf491
test with exit condition 2024-04-19 13:48:50 +02:00
62502063f4
keep number of concurrent tasks 2024-04-19 12:57:21 +02:00
8afda87953
increase max tasks and create a special structure who hold task_info - also fix an infinite loop (introducing a new one ahah) 2024-04-18 22:38:01 +02:00
d566f26d90
fix makefile on reelease mode 2024-04-18 22:37:23 +02:00
51d91042da
wip: deuxieme solution 2024-04-18 17:41:41 +02:00
a704d60ff9
typos 2024-04-18 17:41:12 +02:00
75fdb1260b
fix benchmark? 2024-04-18 17:20:50 +02:00
3b8d9e03cd
pile vs file 2024-04-17 19:28:38 +02:00
608458bf47
rename target dev to debug 2024-04-17 16:00:32 +02:00
76070602c3
fix extra 2024-03-26 21:08:43 +01:00
4a432353cc
Add extra 2024-03-26 21:01:09 +01:00
cda4e311ea
ext 2024-03-26 20:50:32 +01:00
872f824aae
better error message and don't use errno 2024-03-15 12:57:09 +01:00
6f5414f58b
fix warning 2024-03-15 12:53:54 +01:00
4eadb9fc98
Basic pthread_create implementation 2024-03-15 12:43:44 +01:00
07209452aa
ordonnanceur.elf 2024-03-15 12:32:26 +01:00
a44105cb5b
small adjustments 2024-03-15 12:19:51 +01:00
1b24304b81
nonstopmode 2024-03-10 12:00:33 +01:00
24a3954eed
make the program compile 2024-03-09 18:47:40 +01:00
0d8f77f9fb
report title 2024-03-09 18:28:59 +01:00
1ba60ab73d
add sched.h and quicksort.h, alongs with template for report, makefiles and basic readme 2024-03-09 18:22:32 +01:00