Skip to content

Commit eea2f54

Browse files
committed
removed unused function
1 parent 616e0ec commit eea2f54

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

stringtie.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,6 @@ bool noThreadsWaiting();
241241

242242
void workerThread(GThreadData& td); // Thread function
243243

244-
//check if a worker thread popped the data queue:
245-
bool queuePopped(GPVec<BundleData>& bundleQueue, int prevCount);
246-
247244
//prepare the next free bundle for loading
248245
int waitForData(BundleData* bundles);
249246
#endif
@@ -1355,15 +1352,6 @@ void workerThread(GThreadData& td) {
13551352
DBGPRINT2("---->> Thread%d DONE.\n", td.thread->get_id());
13561353
}
13571354

1358-
bool queuePopped(GPVec<BundleData>& bundleQueue, int prevCount) {
1359-
int c;
1360-
queueMutex.lock();
1361-
c=bundleQueue.Count();
1362-
queueMutex.unlock();
1363-
DBGPRINT3("##> post-notification check: qlen is now %d (was %d)\n", c, prevCount);
1364-
return (c==0 || c<prevCount);
1365-
}
1366-
13671355
//prepare the next available bundle slot for loading
13681356
int waitForData(BundleData* bundles) {
13691357
int bidx=-1;

0 commit comments

Comments
 (0)