CS3413/Assignment4/lib/process.h

18 lines
325 B
C
Raw Normal View History

2023-10-24 13:50:05 -03:00
#ifndef NODE_H
#define NODE_H
typedef struct Process {
struct process *prev_elem;
struct process *next_elem;
char *username;
char job;
int arrival_time;
int duration;
} Process;
Process *createProcess(char *username, char job, int arrival_time, int duration);
void destroyProcess(Process *node);
#endif //NODE_H