Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
view dependency.h @ 76:6647aea90477
commented out uses of SemEnv->lastReqType .. wasn't compiling..
author | Sean Halle <seanhalle@yahoo.com> |
---|---|
date | Sun, 15 Jul 2012 02:03:43 -0700 |
parents | f20b4d9d3086 |
children |
line source
1 /*
2 * File: dependency.h
3 * Author: Nina Engelhardt
4 *
5 * Created on 29. August 2011, 17:41
6 */
8 #ifndef _DEPENDENCY_H
9 #define _DEPENDENCY_H
12 #include <stdio.h>
13 #include "ListOfArrays/ListOfArrays.h"
15 typedef struct {
16 int vp;
17 int task;
18 void* ret_ptr;
19 int reqType;
20 } Unit;
22 typedef struct {
23 int from_vp;
24 int from_task;
25 int to_vp;
26 int to_task;
27 } Dependency;
29 typedef struct {
30 int32 id;
31 ListOfArrays* senders;
32 ListOfArrays* receivers;
33 } NtoN;
35 FILE* dependency_file;
37 Dependency* new_dependency(int from_vp, int from_task, int to_vp, int to_task);
39 NtoN* new_NtoN(int id);
41 int set_dependency_file(FILE* file);
43 void print_ctl_dependency_to_file(void* _dep);
45 void print_comm_dependency_to_file(void* _dep);
47 void print_dyn_dependency_to_file(void* _dep);
49 void print_singleton_dependency_to_file(void* _dep);
51 void print_hw_dependency_to_file(void* _dep);
53 void print_dependency_to_file(void* dep);
55 void print_unit_to_file(void* unit);
57 void print_nton_to_file(void* _nton);
59 #endif /* DEPENDENCY_H */