gomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gomd-devel] <DAEMON> code cleanups


From: Gian Paolo Ghilardi
Subject: [gomd-devel] <DAEMON> code cleanups
Date: Sat, 9 Aug 2003 01:04:53 +0200

Hi all.

This is a cleanup release.
Makefiles of the daemon changed.
(I hope this help you, Matt & roeles).
See CVS notes (below) for more infos.

CU.

<rejected>


<< CVS NOTES >>

NOTE: connHanlder constructor now is small.
Objects will be passed to connHanlder via the new init() function.
This change is due to the thread creation mechanism.
As connHandler extends (=is) a thread the correct idea is
1)quicly create the connHandler object
2)then pass the objects to it
This allows us to avoid race conditions in thread creation => now we can
pass a lot of objects to connHadler without faults! => clusterSnaphot object
now can be created startup just once and not created/killed in
createSnapshot() function as done in previous CVS release! :)

IN connHandler.h/connHandler.cpp
(+) added init() function
(+) createSnaphot() function invokes snaphot creation. The clusterSnapshot
object will be created here no more! :)
(+) added var cleanup in destructor code
(+) added a lot of comments
(+)huge cleanups :)

IN main.cpp
(+) added call to new init() function of connHanlder class

IN Makefile.no_libgtop/Makefile.with_libgtop
(<-) Makefiles now use the previous style (no elapsed time shown)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]