diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2010-02-01 19:15:36 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2010-02-01 19:15:36 +0000 |
commit | b309cb565f8b8e07eeb0622c715cfc060c21a74b (patch) | |
tree | 796dc35c6be9428428266a4adf0529402fc9c346 /ACE/ace/Init_ACE.h | |
parent | 98683bab755b12b6009029db971208aec1313ec6 (diff) | |
download | ATCD-b309cb565f8b8e07eeb0622c715cfc060c21a74b.tar.gz |
ChangeLogTag:Tue
Diffstat (limited to 'ACE/ace/Init_ACE.h')
-rw-r--r-- | ACE/ace/Init_ACE.h | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/ACE/ace/Init_ACE.h b/ACE/ace/Init_ACE.h index 164f61e1d70..596e2b5f591 100644 --- a/ACE/ace/Init_ACE.h +++ b/ACE/ace/Init_ACE.h @@ -6,8 +6,11 @@ * * $Id$ * - * Initialize ACE library services. Can be called only once per - * program invocation. + * Initialize and finalize the ACE library services. You can + * generally execute the @a ACE::init() and @a ACE::fini() sequence + * multiple times, but be aware that nothing that ACE controls (e.g., + * singletons, thread-specific services, loaded services, etc.) will + * survive the @a ACE::fini(). */ //============================================================================= @@ -28,17 +31,22 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL namespace ACE { /** - * This class implements the functions for the initialization and - * shutting down ACE. These functions are called only once per ACE - * invokation. - * @return Returns 0 on success, -1 on failure, and 1 if it had already been - * called. + * This method initializes the ACE library services and initializes + * ACE's internal resources. Applications should not instantiate + * ACE classes or call methods on objects of these classes until @a + * ACE::init() returns successfully. + + * @return Returns 0 on success, -1 on failure, and 1 if it had + * already been called. */ extern ACE_Export int init (void); /** - * Shut down ACE library services. Can be called only once per - * program invocation. + * Finalize the ACE library services and releases ACE's internal + * resources. In general, do not instantiate ACE classes or call + * methods on objects of these classes after @a ACE::fini() has been + * called. + * * @return Returns 0 on success, -1 on failure, and 1 if it had already been * called. */ |