annotate 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
rev   line source
msach@134 1 /*
msach@134 2 * File: scheduling.h
msach@135 3 * Author: Merten Sachh
msach@134 4 *
msach@134 5 * Created on September 16, 2011, 2:28 PM
msach@134 6 */
msach@134 7
msach@134 8 #ifndef SCHEDULING_H
msach@134 9 #define SCHEDULING_H
msach@134 10
msach@134 11 #include "ProcrContext.h"
msach@134 12
msach@134 13 typedef struct _SchedSlot SchedSlot;
msach@134 14
msach@134 15 struct _SchedSlot
msach@134 16 {
msach@134 17 int workIsDone;
msach@134 18 int needsProcrAssigned;
msach@134 19 VirtProcr *procrAssignedToSlot;
msach@134 20 };
msach@134 21
msach@134 22 #endif /* SCHEDULING_H */
msach@134 23