Can Money.h++ be used in multi-threaded applications?

Article ID: 1042
Last updated: 05 Feb, 2008
Article ID: 1042
Last updated: 05 Feb, 2008
Revision: 1
Views: 2810
Posted: 25 Jun, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


Can Money.h++ be used in multi-threaded applications?


Cause


Money.h++ is level 1 thread safe, as are our other libraries when built in a Multithreaded configuration.  This means that nothing we do internally will cause any problems.  However, you can create race condtions externally.

Money.h++ can be safely used in multi-threaded applications as long as one condition is met. You must be careful of how you set your error handlers. The error handlers must be set once and cannot be set in multiple error threads simultaneously.

 




Action


Make sure that you set your error handlers once, and do not set them in multiple threads simultaneously.
This article was:   Helpful | Not helpful
Report an issue
Article ID: 1042
Last updated: 05 Feb, 2008
Revision: 1
Views: 2810
Posted: 25 Jun, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category