Fix allocation of processes. Closes #166.

This commit is contained in:
Hisham Muhammad
2015-02-20 14:52:10 -02:00
parent f97d1bc54a
commit 6f868b00c0
9 changed files with 31 additions and 24 deletions

View File

@ -17,6 +17,12 @@ typedef struct LinuxProcess_ {
IOPriority ioPriority;
} LinuxProcess;
#define Process_delete LinuxProcess_delete
LinuxProcess* LinuxProcess_new(Settings* settings);
void LinuxProcess_delete(Object* cast);
/*
[1] Note that before kernel 2.6.26 a process that has not asked for