comparison transform/TransformFactory.cpp @ 484:45ded09e4710

* minor text change
author Chris Cannam
date Wed, 19 Nov 2008 21:36:33 +0000
parents f54381e01141
children 9eb7ef610d7f
comparison
equal deleted inserted replaced
483:b13213785a6f 484:45ded09e4710
1048 if (match.score > 0) results[i->first] = match; 1048 if (match.score > 0) results[i->first] = match;
1049 } 1049 }
1050 1050
1051 if (!m_uninstalledTransformsMutex.tryLock()) { 1051 if (!m_uninstalledTransformsMutex.tryLock()) {
1052 // uninstalled transforms are being populated; this may take some time, 1052 // uninstalled transforms are being populated; this may take some time,
1053 // and they aren't critical 1053 // and they aren't critical, but we will speed them up if necessary
1054 std::cerr << "TransformFactory::search: Uninstalled transforms mutex is held, skipping" << std::endl; 1054 std::cerr << "TransformFactory::search: Uninstalled transforms mutex is held, skipping" << std::endl;
1055 m_populatingSlowly = false;
1055 return results; 1056 return results;
1056 } 1057 }
1057 1058
1058 if (!m_uninstalledTransformsPopulated) { 1059 if (!m_uninstalledTransformsPopulated) {
1059 std::cerr << "WARNING: TransformFactory::search: Uninstalled transforms are not populated yet" << endl 1060 std::cerr << "WARNING: TransformFactory::search: Uninstalled transforms are not populated yet" << endl