added LRU and fixed bug in dequeueN
This commit is contained in:
@ -7,6 +7,12 @@
|
||||
|
||||
#include "conn.h"
|
||||
|
||||
/* Algoritmo che viene usato per il rimpiazzo dei dati:
|
||||
se = 0 -> FIFO
|
||||
se = 1 -> LRU
|
||||
*/
|
||||
#define ALGORITHM 1
|
||||
|
||||
/* struttura dati per gestire i file in memoria principale */
|
||||
typedef struct {
|
||||
char *filepath; /* path assoluto del file */
|
||||
|
||||
Reference in New Issue
Block a user