[omniORB] Omni_mutex and static global object

Visscher, Bruce VISSCHB at RJRT.com
Wed Sep 15 17:46:29 BST 2004


> I make instensive use of auto-instanciated static singleton object[...]

You really should avoid static objects.  I realize there are some cute 
idioms that make use of this but it turns out that the C++ language
doesn't actually support this as well as we'd all like.  The problems 
and disappointments that static objects cause are too numerous to delineate.

-----------------------------------------
CONFIDENTIALITY NOTE:  This e-mail message, including any  attachment(s),
contains information that may be confidential,  protected by the attorney-
client or other legal privileges, and/or  proprietary non-public
information.  If you are not an intended  recipient of this message or an
authorized assistant to an intended  recipient, please notify the sender by
replying to this message and  then delete it from your system.  Use,
dissemination, distribution,  or reproduction of this message and/or any of
its attachments (if  any) by unintended recipients is not authorized and
may be unlawful.




More information about the omniORB-list mailing list