Commit graph

68 commits

Author SHA1 Message Date
62ddffc0d2
fix format 2024-04-22 02:31:48 +02:00
90dd5e4077
use k 2024-04-22 02:11:35 +02:00
222e9cb303
WORKING 2024-04-22 02:09:51 +02:00
7a4960412b
3s mdr 2024-04-21 20:15:02 +02:00
aa8589afa8
aaaaa 2024-04-21 19:52:08 +02:00
feedf24d06
jv peter mon crane 2024-04-21 19:51:50 +02:00
de2888683a
comment 2024-04-21 19:29:21 +02:00
1b6db69cd2
vu que chaque thread vole aux autres, il y a plus besoin d'attendre qui que ce soit, alors on retire les variables de conditions 2024-04-21 18:52:22 +02:00
37ff2cfb93
try to steal (not working..) 2024-04-21 18:04:41 +02:00
ffd3d52027
fmt 2024-04-21 17:37:54 +02:00
386ec75895
not working but still progress :) 2024-04-21 16:51:26 +02:00
6ea1c8d0dd
TODO! 2024-04-21 16:39:00 +02:00
98193d6500
store threads list into the sched struct 2024-04-21 16:36:35 +02:00
8a2af26283
TODOs 2024-04-21 15:38:06 +02:00
26b536958d
+ claire comme ça 2024-04-21 15:08:58 +02:00
01e1345069
aaaaaaaaaaaaaaa 2024-04-21 15:03:00 +02:00
2dbe9ac769
décidemment 2024-04-21 15:02:50 +02:00
a22a0301b8
2024-04-21 15:02:40 +02:00
3f4b792363
s 2024-04-21 15:02:31 +02:00
7d064ecf5f
allocate multiples stacks 2024-04-21 15:00:45 +02:00
bfeb0df269
top!finded the bug 2024-04-21 14:55:36 +02:00
4481d3d25d
mutex as allocation 2024-04-21 14:42:36 +02:00
f5e7a51861
nthsleep!!! 2024-04-21 14:36:54 +02:00
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