102 Commits

Author SHA1 Message Date
Nemo D'ACREMONT
2df4b8b662
feat: use ufd_t instead of lastthread 2025-04-18 19:55:02 +02:00
Nemo D'ACREMONT
da2b87ad05
fix: udpate comments of dac-sum 2025-04-18 19:52:55 +02:00
Nemo D'ACREMONT
4c3463d3fe
feat: add union-find-delete data structure 2025-04-18 19:51:51 +02:00
Nemo D'ACREMONT
8e2e802c9f
feat: add dac-sum test 2025-04-11 15:13:50 +02:00
Nemo D'ACREMONT
50438b2c01
feat: add support for preemption 2025-04-11 14:27:41 +02:00
Alessandre Laguierce
964a810fad feat: remove yielding after unlocking mutex 2025-04-09 17:41:18 +02:00
Alessandre Laguierce
37ad7548dc feat: add first version of report 2025-04-08 22:20:11 +02:00
Alessandre Laguierce
37f76b02f6 docs: remove deprecated comments 2025-04-08 22:17:11 +02:00
Alessandre Laguierce
b7a8aa4977 fix: conditional compilation for fibonacci 2025-04-08 22:16:48 +02:00
Alessandre Laguierce
c0d5c860e5 feat: add native target architecture 2025-04-08 22:00:52 +02:00
Nemo D'ACREMONT
95457372b6
feat: add mutex prio to prevent deadlock on mutex 2025-04-08 19:06:40 +02:00
Nemo D'ACREMONT
8d023ed201
opti: change scheduler to prioritize threads locking mutex 2025-04-08 18:59:59 +02:00
Alessandre Laguierce
2fa0c145f2 docs: better README.md 2025-04-06 22:14:18 +02:00
Nemo D'ACREMONT
b3c34b04eb
fix: install targets weren't working properly 2025-04-04 22:51:37 +02:00
Nemo D'ACREMONT
22fb8fd863
feat: update tests 2025-04-04 22:46:14 +02:00
Nemo D'ACREMONT
5352d16c8f
feat: use wildcard to make makefile hacking easier 2025-04-04 22:44:22 +02:00
Martin Eyben
f2a00ae698 feat: 2000 2025-04-04 18:06:34 +02:00
Martin Eyben
597cf2cda0 feat: 2500 2025-04-04 18:05:37 +02:00
Martin Eyben
8c1dfa3248 feat: 3000 2025-04-04 18:04:21 +02:00
Martin Eyben
1ad1a23761 feat: 2000 2025-04-04 18:03:19 +02:00
Alessandre Laguierce
9edbfd9bfb fix: test with 90 2025-04-04 17:56:53 +02:00
Alessandre Laguierce
b0214fc27b feat: test with 5k 2025-04-04 17:54:30 +02:00
Alessandre Laguierce
ac2b916d2e fix: valgrind 2025-04-04 17:44:55 +02:00
Alessandre Laguierce
af7960b264 feat: create a pool of threads when setuping main thread 2025-04-04 17:42:31 +02:00
Nemo D'ACREMONT
da29a7eea4
fix: revert removing unused header 2025-04-04 17:18:53 +02:00
Nemo D'ACREMONT
95d8b9939f
refactor: rename fifos to better names 2025-04-04 17:12:16 +02:00
Nemo D'ACREMONT
e45992ac9d
fix: remove malloc in mutex and update tests 2025-04-04 16:52:14 +02:00
Alessandre Laguierce
1aeb759d77 feat: add fibo strategy 2025-04-02 23:01:32 +02:00
Alessandre Laguierce
bb29b2f53a style: use macro for status 2025-04-02 22:04:56 +02:00
Alessandre Laguierce
589c6551f7 revert: awful time on thor 2025-04-02 19:28:42 +02:00
Alessandre Laguierce
f6b03da814 fix: resolve segfaults 2025-04-02 19:21:55 +02:00
Alessandre Laguierce
7f1aa05f3e feat: better scheduling for fibo 2025-04-02 15:24:30 +02:00
Alessandre Laguierce
3475ce4e8f feat: add cache for last_thread_t structure 2025-04-02 08:35:57 +02:00
Nemo D'ACREMONT
b25ae2cf69
feat: update logs and wait curl 2025-03-28 15:21:55 +01:00
Nemo D'ACREMONT
8a3381695b
feat: update tests 2025-03-28 14:47:04 +01:00
Martin Eyben
9b2e156869 fix[mutex]: valgrind uninitialised values 2025-03-28 14:42:15 +01:00
Martin Eyben
34c98beaea Merge branch 'mutex' 2025-03-28 14:39:21 +01:00
Nemo D'ACREMONT
d0f714c5e1
feat: add mutex 2025-03-28 14:02:44 +01:00
Martin Eyben
40ed1bf6a7 fix: compilation 2025-03-28 10:05:22 +01:00
Alessandre Laguierce
fe48f0d61b feat: correct few things to converge to Faverge's happiness 2025-03-28 09:36:08 +01:00
Alessandre Laguierce
177e8807c5 feat: save freed thread to not realloc after 2025-03-27 18:03:14 +01:00
Alessandre Laguierce
a43d94dede feat: improve memory allocation by using mimalloc 2025-03-26 09:23:12 +01:00
Alessandre Laguierce
efaddc4f99 fix: initialize value for main thread 2025-03-25 19:23:14 +01:00
Alessandre Laguierce
16a02f00ab fix: valgrind for deadlocking 2025-03-25 19:20:33 +01:00
Martin Eyben
f6b199d601 feat: add deadlock prevention, still a valgrind issue when returning EDEADLCK 2025-03-25 13:52:50 +01:00
Martin Eyben
f6a78b3516 feat: add deadlock verification 2025-03-25 10:35:02 +01:00
Martin Eyben
ea5017321b feat[debug]: add current thread in trace 2025-03-25 01:25:39 +01:00
Martin Eyben
aece33c73b fix: typo 2025-03-25 00:26:20 +01:00
Martin Eyben
25d2e181e1 fix: on join check if the thread is not waiting the current thread 2025-03-24 15:21:22 +01:00
Alessandre Laguierce
bf8e6e9d0d feat: reduce memset size 2025-03-24 09:12:41 +01:00