Virgo Logbook
UTC--:--:--
GPS-
Reports
Electronics and Software›Basic software #16090

Cm v8r4

The following modifications have been performed: 1 Cm SIGPIPE handler installs only during the transmission and the previous handler restored at the end of the transmission. Note that before the Cm SIGPIPE handler was always in operation, so be carefull you may need to manage now the SIGPIPE handling 2 On the TCPSend in case of errno EAGAIN: . Cm v8r3: we loops until the write is ok or the errno different from EAGAIN. Cm v8r4: even if the write returns -1 and the errno is set to EAGAIN the TCPsend returns 0 . In TCPSend in case of SIGPIPE . Cm v8r2: the write returns -1 stored into an unsigned int (2^32-1) and returns this high value used to decrement the remaing size and runs as the message is fully sent . Cm v8r3: when a SIGPIPE is detected under in a infinite loop trying to send the message (wrong implementation, case of crashes of the rio30a) . Cm v8r4: the TCPsend returns -2 to indicate a SIGPIPE detection and the CmConnect is killed and CmMesageIterator stopped. 3. Set the transmitted socket size to 16KBytes 4. Change the management of the CmConnect object related to the CmNameServer by named the CmConnect object using the following convention <Cm name server>_<server name> instead of <Cm name server>_<number> where the number is incremented for each connection of the CmNameServer.This new naming convention still allow to have several CmName for the same server and to have only on CmConnect object related to the CmNameServer of each CmName declared in case of crash for the machine hosting the CmNameServer The Cm v8r4 has been put in operation on the following system: . Detection (except the Pr27,Pr28,Pr29,Pr70,Pr80 servers) . DAQ . Automation, Detector Monitoring . Online Processing, Noise monitoring . GxS suspension servers (except Gxs40IB, GxS23BC, GxS56La)