I think this is most definitely the way to go if you can tolerate the API
changes. The main drawback is potentially each molecule class taking up more
memory. I would welcome any changes that push openbabel closer to thread
safety..
David Koes
Assistant Professor
Computational & Systems
Hi there,
Wouldn't a better solution to the race conditions that David Koes is
experiencing with global state be to remove the global state? For the
cases he mentioned, e.g. the OBAromTyper, the global state relating to
a single molecule can easily be moved to a OBAromTyperPrivate class