Changes between Version 2 and Version 3 of v4.1


Ignore:
Timestamp:
01/17/12 12:39:26 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • v4.1

    v2 v3  
    6161=== getmenu === 
    6262 
    63 Fixed bug that prevented hostname lookup from working on NT. The problem was that SocketSysInit() was not being called before the hostname lookup occurred. Now you can give getmenu a hostname or and IP address (followed by ":portnumber") on NT as well as Unix.  PNL, 11/19/1999 
     63Fixed bug that prevented hostname lookup from working on NT. The problem was that !SocketSysInit() was not being called before the hostname lookup occurred. Now you can give getmenu a hostname or and IP address (followed by ":portnumber") on NT as well as Unix.  PNL, 11/19/1999 
    6464 
    6565=== export === 
     
    103103=== export: (scn and generic) === 
    104104 
    105  * Export no longer quits when !SocketTimeoutLength is less than !RcvAliveInt; now it sets SocketTimeoutLength to 1500 times !RcvAliveInt and logs it. (!RcvAliveInt is in seconds, !SocketTimeoutLength is in milliseconds.) Removed some unneeded if's from binEscape() to improve efficiency. Moved start of !MessageStacker to after successful accept_ew call, to reduce number of lapped messages in queue. Removed flush of internal queue. Export now uses a timeout for the accept_ew call. The interval is the internal heartbeat interval, so statmgr doesn't complain when export isn't connected. If a connection is not made in the timeout interval, export sends a complaint but otherwise keeps listening and beating its heart. When a connection is made, export sends a "connected" message only if it complained earlier. This adds two new error messages to the descriptor file.  
     105 * Export no longer quits when !SocketTimeoutLength is less than !RcvAliveInt; now it sets !SocketTimeoutLength to 1500 times !RcvAliveInt and logs it. (!RcvAliveInt is in seconds, !SocketTimeoutLength is in milliseconds.) Removed some unneeded if's from binEscape() to improve efficiency. Moved start of !MessageStacker to after successful accept_ew call, to reduce number of lapped messages in queue. Removed flush of internal queue. Export now uses a timeout for the accept_ew call. The interval is the internal heartbeat interval, so statmgr doesn't complain when export isn't connected. If a connection is not made in the timeout interval, export sends a complaint but otherwise keeps listening and beating its heart. When a connection is made, export sends a "connected" message only if it complained earlier. This adds two new error messages to the descriptor file.  
    106106 * When export has a problem sending or receiving, it kills the socket threads, closes and reopens the socket and tries another connection.  
    107107 * The !MessageStacker does not get killed in the recycling.  
    108  * Fixed a bug where BinSize was not being set to zero after a message was successfully sent. This bug resulted in one message being resent when the !SocketSender restarted. PNL 1/13/2000 
     108 * Fixed a bug where !BinSize was not being set to zero after a message was successfully sent. This bug resulted in one message being resent when the !SocketSender restarted. PNL 1/13/2000 
    109109 
    110 wave_serverV: Added optional parameter "ClientTimeout", used in 
    111    serverThread. When no traffic is heard from a connected client in 
    112    this timeout interval, the socket is closed and the serverThread exits. 
    113    Previously, wave_serverV.d stated that this was the function of 
    114    SocketTimeout, which it was not. Fixed bug in shutdown sequence 
    115    where KillThread was being called with uninitialized values. Sometimes 
    116    this would kill the main thread, aborting the shutdown sequence. This 
    117    may have been the cause of Menlo's wave_serverV hanging on shutdown. 
    118    Cleaned up settings of ServverThreadInfo.Status in server_thread.c 
    119    and wave_serverV.h. Small change to index_util.c to add some detail 
    120    to logit error entry in BuildLIndex(). Reformatted comments at head of 
    121    wave_serverV to make them easier to read.  PNL, 1/12/2000 
     110=== wave_serverV === 
    122111 
    123 rcv_ew and vdl_ew:  Both modules have been updated to the newest version of  
    124    rcv and vdl from Dave Ketchum.  BB 1/16/2000 
     112Added optional parameter "!ClientTimeout", used in serverThread. When no traffic is heard from a connected client in this timeout interval, the socket is closed and the serverThread exits. Previously, wave_serverV.d stated that this was the function of !SocketTimeout, which it was not. Fixed bug in shutdown sequence where !KillThread was being called with uninitialized values. Sometimes this would kill the main thread, aborting the shutdown sequence. This may have been the cause of Menlo's wave_serverV hanging on shutdown. Cleaned up settings of ServverThreadInfo.Status in server_thread.c and wave_serverV.h. Small change to index_util.c to add some detail to logit error entry in !BuildLIndex(). Reformatted comments at head of wave_serverV to make them easier to read.  PNL, 1/12/2000 
    125113 
     114=== rcv_ew and vdl_ew === 
    126115 
    127 CHANGES TO CONFIGURATION FILES and DESCRIPTOR FILES: 
    128 ****************************************************  
    129 carlsubtrig.d: Added "MaxTrigMsgLen nbytes" command to control the size 
    130    of the output buffer. 
     116Both modules have been updated to the newest version of rcv and vdl from Dave Ketchum.  BB 1/16/2000 
    131117 
    132 carlstatrig.d: 
    133    Added "LTAtime" command to set nominal time of LTA average. This is an 
    134    optional parameter, defaults to 8 seconds. 
     118== CHANGES TO CONFIGURATION FILES and DESCRIPTOR FILES == 
    135119 
    136 carlsubtrig.desc:  Added a new error code for the case when the triglist 
    137    message would overflow the output buffer: 
    138     err: 23  nerr: 1  tsec: 0  page: 10  mail: 20 
    139     text: "Incomplete triglist message sent." 
     120=== carlsubtrig.d === 
    140121 
    141 adsend.desc: Added a new error code: 
    142     err: 7  nerr: 1  tsec: 0  page: 0  mail: 10 
    143     text: "Fewer samples were obtained than requested." 
     122Added "!MaxTrigMsgLen nbytes" command to control the size of the output buffer. 
    144123 
    145 decimate.d and decimate.desc: Several new commands due to the extensive 
    146     changes in the module. 
     124=== carlstatrig.d === 
     125    
     126Added "LTAtime" command to set nominal time of LTA average. This is an optional parameter, defaults to 8 seconds. 
    147127 
    148 heli_standalone: Added optional command to name the HTML file; default name 
    149 is "index.html". Added description of optional "Target" command to conf file. 
    150 This option was always available, but left out of the working config file. 
     128=== carlsubtrig.desc === 
    151129 
    152 export_*.desc: two new error messages to report slow connections. 
     130Added a new error code for the case when the triglist message would overflow the output buffer:  
     131{{{ 
     132err: 23  nerr: 1  tsec: 0  page: 10  mail: 20  
     133text: "Incomplete triglist message sent." 
     134}}} 
    153135 
    154 wave_serverV.d: optional command ClientTimeout; corrected comments for 
    155   SocketTimeout 
     136=== adsend.desc === 
    156137 
    157 KNOWN BUGS or DEFICIENCIES: 
    158 ************************** 
    159 In Windows NT, the time resolution of sleep_ew() is about 16 msec (one clock 
    160 tick).  On Solaris, the resolution is about 10 msec.  This is a problem for  
    161 ringtocoax, since packet delays need to be set to a few milliseconds. 
     138Added a new error code: 
     139{{{ 
     140err: 7  nerr: 1  tsec: 0  page: 0  mail: 10 
     141text: "Fewer samples were obtained than requested." 
     142}}} 
    162143 
    163 Automatic restarts of adsend (using the "restartMe" line in the descriptor 
    164 file) can cause an NT system to hang. Therefore, you should never 
    165 use the autorestart feature with adsend, but you should bring down 
    166 the entire Earthworm system if adsend needs to be restarted. 
     144=== decimate.d and decimate.desc === 
    167145 
    168 carlsubtrig: Occasionally (once every few months in Menlo Park), the 
    169 event id gets reset to zero.  This smacks of a memory clobber, but we 
    170 haven't tracked it down yet. This has been observed in v4.0 carlsubtrig 
    171 on x86 Solaris. LDD 9/28/1999 
     146Several new commands due to the extensive changes in the module. 
    172147 
    173 threads functions: The KillThread function on WindowsNT and Solaris 
    174 terminate the thread without ensuring that no mutexes are held. If a thread 
    175 holds a mutex when it dies, no other thread can get that mutex. PNL 1/12/2000 
     148=== heli_standalone === 
    176149 
    177 The Solaris version of SendMail calls popen to invoke the Mail program. 
    178 If the mail program can't be found, Solaris prints the message: 
    179                sh: /usr/ucb/Mail: not found 
    180 The SendMail function returns 0 (no error), instead of -1 (error), so the 
    181 calling program can't tell that an error occurred.   
     150Added optional command to name the HTML file; default name is "index.html". Added description of optional "Target" command to conf file. This option was always available, but left out of the working config file. 
     151 
     152=== export_*.desc === 
     153 
     154two new error messages to report slow connections. 
     155 
     156=== wave_serverV.d === 
     157 
     158optional command !ClientTimeout; corrected comments for !SocketTimeout 
     159 
     160== KNOWN BUGS or DEFICIENCIES == 
     161 
     162 * In Windows NT, the time resolution of sleep_ew() is about 16 msec (one clock tick).  On Solaris, the resolution is about 10 msec.  This is a problem for ringtocoax, since packet delays need to be set to a few milliseconds. 
     163 * Automatic restarts of adsend (using the "restartMe" line in the descriptor file) can cause an NT system to hang. Therefore, you should never use the autorestart feature with adsend, but you should bring down the entire Earthworm system if adsend needs to be restarted. 
     164 * carlsubtrig: Occasionally (once every few months in Menlo Park), the event id gets reset to zero.  This smacks of a memory clobber, but we haven't tracked it down yet. This has been observed in v4.0 carlsubtrig on x86 Solaris. LDD 9/28/1 * 999 
     165 * threads functions: The KillThread function on WindowsNT and Solaris terminate the thread without ensuring that no mutexes are held. If a thread holds a mutex when it dies, no other thread can get that mutex. PNL 1/12/2000 
     166 * The Solaris version of SendMail calls popen to invoke the Mail program. If the mail program can't be found, Solaris prints the message: 
     167{{{ 
     168sh: /usr/ucb/Mail: not found 
     169}}} 
     170 * The SendMail function returns 0 (no error), instead of -1 (error), so the calling program can't tell that an error occurred.