--- QUANTA/src ---


Protocol:local User:
Machine:localhost CVSROOT:/nfs/cavern/cvs

Filename: QUANTAnet_udpReflector_c.cxx
Revision 1.17scharver 2004/03/27 01:03:24+3 -2
- QUANTAnet_udpReflector_c destructor calls delete on its UDP socket object once other objects have been destroyed. This was accidentally removed in the last commit change.
Show difference between Revision 1.16 and 1.17
Revision 1.16scharver 2004/03/25 04:20:14+73 -48
- QUANTAnet_udpReflector_c destructor handles a lot of extra work now. It first closes the socket. After stopping the UDP and MCAST threads, it waits to join the threads so that they may finish. Once the threads are finished, then the sockets and other objects are deleted. Moved the destructor definition so that it follows the constructor in the source code.
- (QUANTAnet_udpReflector_c::setBlockingTimeout) New member function sets the blocking timeout in seconds on the internal UDP socket.
- (QUANTAnet_udpReflector_c::init) Added enhancement to use the status variable within the QUANTAts_thread_c class when creating the UDP And MCAST threads. The thread class's start() function sets a flag that indicates the thread is active.- The member functions threadUDP() and threadMCAST() now check the thread objects' statuses rather than blindly doing a while(1) loop. Since the destructor toggles the threads to stop, this allows the thread functions to finish cleanly before exiting a program.
- Added some iolocks to showStats() and logStats(). Since the demo programs call these functions from the main process, these locks are needed to ensure that they do not cause conflicts with the secondary threads.
Show difference between Revision 1.15 and 1.16


File made using version 1.96 of cvs2html by javid at 2004-04-13 14:21 and only showing data between revisions QUANTA_0_3:HEAD and only showing the 6 latest version differences