|
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.
- Returns:
0 if successful, -1 with errno set if failure.
- Note:
- You can provide your program a set of default `svc.conf' entries by setting ignore_default_svc_conf_file to non-zero and use
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.
|