Maybe they won't notice
This commit is contained in:
parent
a534f0d577
commit
5dcbbf5b79
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user