gomd-devel
[Top][All Lists]
Advanced

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

[gomd-devel] <DAEMON>: registerProcess() now does work.


From: Gian Paolo Ghilardi
Subject: [gomd-devel] <DAEMON>: registerProcess() now does work.
Date: Fri, 31 Oct 2003 01:54:45 +0100

Hi all.

Here we're.
chpoxSupport::registerProcess() function now works!
It automagically registers an app and the required libs.

Try launching gomd with the new (temporary) --test-chpox/-tc command line
option: the init proc (pid=1) + all required libs will be correctly
registered ;)
Moreover the infos about the registered proc are saved in a special linked
list (each element is a instance of the new small chpoxProc class).

I hope you all like this code.
Please test it up as this is really important for the life of gomd.

Byez.

<rejected>


<< CVS NOTES >>

NOTE: new import for chpoxSupport class

IN chpoxProc.h/chpoxProc.cpp
(+) added new class to save the each registerd proc+libs.

IN chpoxSupport.h/chpoxSupport.cpp
(+) now registerProcess works! This function starts looking for libs needed
by a given proc then register the proc and the libs. Then the functions
saves the infos about the proc (and libs) in a chpoxProc instance and,
finally, adds the new object to a list of registered procs (this list will
be used to easily unregister the procs, checks the status,...).

IN constants.h
(+) added new #define CHPOX_REGISTER_MECHANISM "9" and
      #define CHPOX_DUMP_DIR "/var/tmp" constants.

IN main.cpp
(+) added new --test-chpox/-tc command line option to test registering the
init proc + all required libs. ;)

IN Makefile.with_libgtop/Makefile.no_libgtop
(+) added new chpoxProc class to compilation line.





reply via email to

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