version 1.66, 2003/10/30 00:22:39
|
version 1.67, 2003/11/04 04:38:21
|
|
|
} | } |
_entries[indx]._status = _MonitorEntry::BUSY; | _entries[indx]._status = _MonitorEntry::BUSY; |
// If allocate_and_awaken failure, retry on next iteration | // If allocate_and_awaken failure, retry on next iteration |
_thread_pool->allocate_and_awaken((void *)q, _dispatch); |
if (!_thread_pool->allocate_and_awaken((void *)q, _dispatch)) |
|
{ |
|
Tracer::trace(TRC_DISCARDED_DATA, Tracer::LEVEL2, |
|
"Monitor::run: Insufficient resources to process request."); |
|
_entries[indx]._status = _MonitorEntry::IDLE; |
|
_entry_mut.unlock(); |
|
return true; |
|
} |
} | } |
else | else |
{ | { |