Maybe they won't notice

This commit is contained in:
Isaac Shoebottom 2023-11-04 23:48:32 -03:00
parent a534f0d577
commit 5dcbbf5b79

View File

@ -4,16 +4,6 @@
#include <stdlib.h>
#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;