RWDecimal<T> provides basic multithread safety. All functions behave the same in a multi threaded environment as in a single-threaded environment. Of course, this assumes that individual objects are not shared across multiple threads.
If you plan to use RWDecimal<T> in a multithreaded environment, you should be aware of the following:
Currency Module objects do not provide a locking mechanism for use in a multithread environment. An application should either avoid sharing individual objects across threads, or it should perform its own locking around objects shared between threads.
The only static data maintained in RWDecimal<T> classes are handles to inexact and overflow error handlers. Each class has its own pair of error handlers.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.