(file) Return to InternalCIMOMHandleRep.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Provider

Diff for /pegasus/src/Pegasus/Provider/InternalCIMOMHandleRep.cpp between version 1.15 and 1.16

version 1.15, 2005/05/02 22:35:44 version 1.16, 2005/06/24 19:34:25
Line 444 
Line 444 
         // ignore if not a CIMMessage         // ignore if not a CIMMessage
     }     }
  
       // Make sure to delete the dispatch  if it does not get processed by _dispatch
     CIMOMHandleDispatch* dp =     CIMOMHandleDispatch* dp =
         new CIMOMHandleDispatch(request, get_qid(), get_output_qid());         new CIMOMHandleDispatch(request, get_qid(), get_output_qid());
  
 #ifdef PEGASUS_OS_OS400 #ifdef PEGASUS_OS_OS400
     memcpy(dp->os400PH, os400PH, 12);     memcpy(dp->os400PH, os400PH, 12);
 #endif #endif
       ThreadStatus rtn = MessageQueueService::get_thread_pool()->allocate_and_awaken(dp, _dispatch);
       if (rtn != PEGASUS_THREAD_OK)
       {
            Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::TRACE,
                   "Not enough threads to create a worker to dispatch a request. ");
  
     MessageQueueService::get_thread_pool()->allocate_and_awaken(dp, _dispatch);           Tracer::trace(TRC_CIMOM_HANDLE, Tracer::LEVEL2,
                           "Could not allocate thread for %s to dispatch a request.");
           delete dp;
           PEG_METHOD_EXIT();
           throw CIMException(CIM_ERR_FAILED, MessageLoaderParms(
               "Provider.CIMOMHandle.CANNOT_ALLOCATE_THREAD",
                "Could not create a worker for the dispatch request."));
       }
     _request = request;     _request = request;
  
     CIMResponseMessage* response = 0;     CIMResponseMessage* response = 0;


Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2