[Dpcl-develop] re: daemon termination
Brought to you by:
dpcl-admin,
dwootton
From: Steve C. <sl...@sg...> - 2004-11-05 20:39:27
|
One more small update on this problem. The 'garbage message' that is being received by the <dpclSD> is almost certainly the AIS_DAEMON_TERMINATE message generated by <dpcld> in ~dpcl/src/daemon/src/callbacks.C, routine default_cb. Debug statements at the point of the write: if(msgp->IsBlockRWSocket()) { // blocking int rc; rc=write(socket, (char *) &type, sizeof type); if(rc==-1) return -1; rc=write(socket, (char *) &size, sizeof size); if(rc==-1) return -1; rc=write(socket, buffer, size); if(rc==-1) return -1; return 0; // Never any outstanding buffers } in routine SSM_dsend show type, size, to be valid but they are clearly gargabe when <dpclSD> attempts to read the message. Just an update. THanks - SteveC |