[Devel] rank == PROC_FIFO
jh at tutpro.com
Sun Oct 8 13:11:49 CEST 2006
Bogdan-Andrei Iancu writes:
> There are 2 solutions for this:
> - the MI function should check if all resources are available and if
> not to allocate/open them -> no need of init function, the init being
> done at first run.
> - place in module_export structure an init_mi function to be called
> only in the processes running the mi functions.
in case of domain module, i think i could just test in
reload_domain_table function if db_handle is zero and if so, call
so the first solution would work for domain module. the second solution
sounds more general though. like in permissions module, more complex
stuff is done in PROC_FIFO (see
do whatever you feel best.
More information about the Devel