comparison probes.c @ 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 96e273d9f66f
children
comparison
equal deleted inserted replaced
9:14e4eb1c022c 10:8f37d2527bf2
111 create_generic_probe( char *nameStr, VirtProcr *animPr ) 111 create_generic_probe( char *nameStr, VirtProcr *animPr )
112 { 112 {
113 VMSSemReq reqData; 113 VMSSemReq reqData;
114 114
115 reqData.reqType = createProbe; 115 reqData.reqType = createProbe;
116 reqData.nameStr = nameStr; 116 reqData.data = (void*)nameStr;
117 117
118 VMS__send_VMSSem_request( &reqData, animPr ); 118 VMS__send_VMSSem_request( &reqData, animPr );
119 119
120 return animPr->dataRetFromReq; 120 return animPr->dataRetFromReq;
121 } 121 }