void MoleculeInChIUtils::_ensureLabelsInitialized () { // Double-checked locking if (_atom_lables_sorted.size() == 0) { static ThreadSafeStaticObj<OsLock> lock; OsLocker locker(lock.ref()); if (_atom_lables_sorted.size() == 0) _initializeAtomLabels(); } }
DLLEXPORT OptionManager & indigoGetOptionManager () { return indigo_option_manager.ref(); }