version 1.6, 2004/10/17 20:39:56
|
version 1.6.2.1, 2005/08/12 22:52:43
|
|
|
url, | url, |
instance, | instance, |
contentLangs); | contentLangs); |
_thread_pool->allocate_and_awaken(event,deliver_routine); |
ThreadStatus rtn = _thread_pool->allocate_and_awaken(event,deliver_routine); |
|
|
|
if (rtn != PEGASUS_THREAD_OK) |
|
{ |
|
Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::TRACE, |
|
"Not enough threads to allocate a worker to deliver the event. "); |
|
|
|
Tracer::trace(TRC_SERVER, Tracer::LEVEL2, |
|
"Could not allocate thread to deliver event. Instead using current thread."); |
|
delete event; |
|
throw Exception("Not enough threads to allocate a worker to deliver the event."); |
|
} |
} | } |
} | } |
PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL CIMListenerIndicationDispatcherRep::deliver_routine(void *param) | PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL CIMListenerIndicationDispatcherRep::deliver_routine(void *param) |