diff --git a/mythtv/libs/libmythtv/jobqueue.cpp b/mythtv/libs/libmythtv/jobqueue.cpp
index ef08176..60bfc28 100644
|
a
|
b
|
using namespace std;
|
| 28 | 28 | #include "mythdirs.h" |
| 29 | 29 | #include "mythverbose.h" |
| 30 | 30 | |
| | 31 | #undef SetJob /* in windows.h, conflicts with Qt::ChildJobThread::SetJob */ |
| | 32 | |
| 31 | 33 | #ifndef O_STREAMING |
| 32 | 34 | #define O_STREAMING 0 |
| 33 | 35 | #endif |
| … |
… |
void JobQueue::ProcessQueue(void)
|
| 182 | 184 | |
| 183 | 185 | for (;;) |
| 184 | 186 | { |
| 185 | | pthread_testcancel(); |
| 186 | | |
| 187 | 187 | startedJobAlready = false; |
| 188 | 188 | sleepTime = gCoreContext->GetNumSetting("JobQueueCheckFrequency", 30); |
| 189 | 189 | maxJobs = gCoreContext->GetNumSetting("JobQueueMaxSimultaneousJobs", 3); |