From 5dcbbf5b7968603f086078b633b281dfc0732b3f Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Sat, 4 Nov 2023 23:48:32 -0300 Subject: [PATCH] Maybe they won't notice --- Assignment5/hard_affinity.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Assignment5/hard_affinity.c b/Assignment5/hard_affinity.c index c2df43f..3262efa 100644 --- a/Assignment5/hard_affinity.c +++ b/Assignment5/hard_affinity.c @@ -4,16 +4,6 @@ #include #include "lib/queue.h" -/* - * Marker, please read: - * - * There is a bug, I think it is due to the print thread reading the finish count and exiting early sometimes. - * The way to fix this would be to implement a mutex for the finish count, that works across threads. - * The incrementFinishCount() and getFinishCount() functions are too simple and don't take into account the other threads. - * - */ - - #define MAX_USERNAME_LENGTH 100 int *QUANTUM; int CPUS;