[Ace-users] [ace-users] ACE_Service_Config::process_directive

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Wed Jan 2 19:27:10 CST 2008


Hi,

Thanks for providing the version info.

>ACE VERSION: 5.5.10

Please upgrade to ACE+TAO+CIAO x.6.2 (i.e., ACE 5.6.2, TAO 1.6.2, and
CIAO 0.6.2), which you can download from

http://download.dre.vanderbilt.edu

under the heading: "Latest Beta Kit."

The DOC groups at Washington University, UC Irvine, and Vanderbilt
University only provide "best effort" support for non-sponsors for the
latest release, as described in

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html

Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out

http://www.dre.vanderbilt.edu/support.html

for a list of companies that will provide you with ACE+TAO commercial
support.

>HOST MACHINE and OPERATING SYSTEM:    winxp
>COMPILER NAME AND VERSION (AND PATCHLEVEL): g++
>THE $ACE_ROOT/ace/config.h FILE : #include "ace/config-win32.h"
>THE $ACE_ROOT/include/makeinclude/platform_macros.GNU
>FILE :platform_macros.GNU
>DESCRIPTION:
>
>I add server 1 in a thread.
>ACE_Service_Config::process_directive (ADD_SERVICE(1));
>
>I want remove service 1 in other thread, but it does not work? it
>returns -1.
>ACE_Service_Config::process_directive (REMOVE_SERVICE(1));
>
>Can i remove the service from other thread?

Sure, I don't see why not.  I recommend you do some debugging to see
what's going wrong when -1 is returned, e.g., what is the value of
errno?

Thanks,

     Doug


-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list