Commit graph

12 commits

Author SHA1 Message Date
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
51d91042da
wip: deuxieme solution 2024-04-18 17:41:41 +02: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
24a3954eed
make the program compile 2024-03-09 18:47:40 +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