![]() |
GetJob() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function |
Declared in: ThreadPool.h |
void GetJob( JobData& aData);
Get a job
try { CCriticalAutoRelease aRelease(m_pCSection); //Check we can have if if (!m_ulJobsCount) { //Can exists the CS aRelease.Exit(); //Set all to null aData.pProc=NULL; aData.pDWORDProc=NULL; aData.pDataProc=NULL; aData.pParam=NULL; //And return return; } //Get the data aData=m_aJobList.front(); //We can remove it now m_aJobList.pop_front(); //Decrease the job count --m_ulJobsCount; } ERROR_HANDLER("GetJob")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |