view scheduling.h @ 135:0b49fd35afc1

distributed free working -app sends a VMSSemReqst to his Master which send a request to a different Master -Master send the request directly -The request structure is freed by the sender, when the request was handled There are still problems on shutdown. The shutdownVPs are all allocated by one Master which is likly to be terminated
author Merten Sach <msach@mailbox.tu-berlin.de>
date Fri, 16 Sep 2011 20:08:28 +0200
parents a9b72021f053
children
line source
1 /*
2 * File: scheduling.h
3 * Author: Merten Sachh
4 *
5 * Created on September 16, 2011, 2:28 PM
6 */
8 #ifndef SCHEDULING_H
9 #define SCHEDULING_H
11 #include "ProcrContext.h"
13 typedef struct _SchedSlot SchedSlot;
15 struct _SchedSlot
16 {
17 int workIsDone;
18 int needsProcrAssigned;
19 VirtProcr *procrAssignedToSlot;
20 };
22 #endif /* SCHEDULING_H */