Functions | |
int | open_services_i (int &argc, char **argv, bool ignore_default_svc_conf_file, bool skip_service_config_open) |
int TAO_END_VERSIONED_NAMESPACE_DECL::open_services_i | ( | int & | argc, | |
char ** | argv, | |||
bool | ignore_default_svc_conf_file = false , |
|||
bool | skip_service_config_open = false | |||
) |
Initialize the ACE Service Configurator. This is a one-shot method, i.e., it can be called multiple times but it will only do its work once. It does, however, track the number of times it's called (see open_services()
). It is fully thread-safe.
0
if successful, -1
with errno
set if failure.default_svc_conf_entries()
before calling open_services()
. In addition, you can skip_service_config_open altogether, which used to be important when the ORB is linked in via the ACE_Service_Configurator, since the ACE_Service_Configurator was non-reentrant. However, the ACE_Service_Configurator is now reentrant meaning that it is really no longer necessary to do so.