> the application crashes. Would it be possible to move the error
> handling out of a singleton class, or add a mutex to ensure that these
> are not accessed simultaneously?

I'm definitely open to lightweight mutex code. The error handling code could 
probably also use a ring buffer to keep the list from getting to large.

Also, you mention error handling. Since I'm guessing you are using OB in a 
long-running program, I assume you know about turning off logging?

oberrorLog.StopLogging();

Cheers,
-Geoff
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
OpenBabel-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to