Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Job* Impala::Job::Server::PopFirstFromJobQueue (  )  [inline]

Definition at line 153 of file Server.h.

References ILOG_ERROR, and mJobsWaiting.

Referenced by AcceptRequestForJob().

00154     {
00155         Job* job = 0;
00156         if (mJobsWaiting.empty())
00157         {
00158             ILOG_ERROR("Job queue empty; cannot pop job");
00159         }
00160         else
00161         {
00162             job = mJobsWaiting[0];
00163             mJobsWaiting.pop_front();
00164         }
00165         return job;
00166     }


Generated on Thu Jan 13 09:22:21 2011 for ImpalaSrc by  doxygen 1.5.1