Ticket #9630: jobq.diff

File jobq.diff, 726 bytes (added by Lawrence Rust <lvr@…>, 9 years ago)
  • mythtv/libs/libmythtv/jobqueue.cpp

    diff --git a/mythtv/libs/libmythtv/jobqueue.cpp b/mythtv/libs/libmythtv/jobqueue.cpp
    index ef08176..60bfc28 100644
    a b using namespace std; 
    2828#include "mythdirs.h"
    2929#include "mythverbose.h"
    3030
     31#undef SetJob /* in windows.h, conflicts with Qt::ChildJobThread::SetJob */
     32
    3133#ifndef O_STREAMING
    3234#define O_STREAMING 0
    3335#endif
    void JobQueue::ProcessQueue(void) 
    182184
    183185    for (;;)
    184186    {
    185         pthread_testcancel();
    186 
    187187        startedJobAlready = false;
    188188        sleepTime = gCoreContext->GetNumSetting("JobQueueCheckFrequency", 30);
    189189        maxJobs = gCoreContext->GetNumSetting("JobQueueMaxSimultaneousJobs", 3);