mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* revert duplicate chunk in release notes * replace deprecated ifdefs This one gets rid of USE_BUILTIN_POPCNT and RDK_THREADSAFE_SS use RDK_OPTIMIZE_POPCNT or RDK_BUILD_THREADSAFE_SSS instead * get rid of BUILD_COORDGEN_SUPPORT from ROMol.i * fix a stupid typo * update release notes
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
//
|
||||
#include "SubstructLibrary.h"
|
||||
#include <RDGeneral/RDThreads.h>
|
||||
#ifdef RDK_THREADSAFE_SSS
|
||||
#ifdef RDK_BUILD_THREADSAFE_SSS
|
||||
#include <thread>
|
||||
#include <future>
|
||||
#endif
|
||||
@@ -216,7 +216,7 @@ int internalGetMatches(const Query &query, MolHolderBase &mols,
|
||||
Bits bits(fps, query, params);
|
||||
int counter = 0;
|
||||
|
||||
#ifdef RDK_THREADSAFE_SSS
|
||||
#ifdef RDK_BUILD_THREADSAFE_SSS
|
||||
if (numThreads > 1) {
|
||||
std::vector<int> counterVect(numThreads, 0);
|
||||
int maxResultsPerThread = maxResults;
|
||||
|
||||
Reference in New Issue
Block a user