Hi, I noticed that a thread mmlib/mms_uaprof.c:mms_profile_fetcher() is started from three places (call to mms_start_profile_engine): mmsc/mmsrelay.c:main(), mmsc/mmsproxy.c:main() and mmsc/mmssend.c:main(). The last one IMHO should be removed entirely from CVS and for the two former ones there should be either a decision which process (i.e. mmsrelay or mmsproxy) should create the thread or a check if a thread does not yet exist (which I guess is not an easy task since thread is started from separate processes).
To clarify the situation, having both mmsrelay and mmsproxy running and sending a TERM to both, tail of debug log shows it: 2006-02-10 18:21:01 [32311] [1] DEBUG: Fetcher shutdown... 2006-02-10 18:21:01 [32311] [1] DEBUG: Thread 1 (mms_uaprof.c:(gwthread_func_t *)mms_profile_fetcher) terminates. 2006-02-10 18:21:03 [32311] [0] DEBUG: Immutable octet strings: 773. 2006-02-10 18:21:05 [32313] [1] DEBUG: Fetcher shutdown... 2006-02-10 18:21:05 [32313] [1] DEBUG: Thread 1 (mms_uaprof.c:(gwthread_func_t *)mms_profile_fetcher) terminates. 2006-02-10 18:21:07 [32313] [0] DEBUG: Immutable octet strings: 776. -- Dziugas _______________________________________________ Devel mailing list [email protected] http://mbuni.org/mailman/listinfo/devel_mbuni.org
