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

Diff for /pegasus/src/Pegasus/Common/MessageQueueService.cpp between version 1.42 and 1.43

version 1.42, 2002/04/25 16:37:09 version 1.43, 2002/04/25 17:46:03
Line 246 
Line 246 
    return(0);    return(0);
 } }
  
   Uint32 MessageQueueService::get_pending_callback_count(void)
   {
      return _callback.count();
   }
   
   
   
 void MessageQueueService::_sendwait_callback(AsyncOpNode *op, void MessageQueueService::_sendwait_callback(AsyncOpNode *op,
                                              MessageQueue *q,                                              MessageQueue *q,
                                              void *parm)                                              void *parm)
Line 783 
Line 790 
    if(callback == NULL)    if(callback == NULL)
       return SendForget(msg);       return SendForget(msg);
    AsyncOpNode *op = get_op();    AsyncOpNode *op = get_op();
      msg->dest = destination;
    if( NULL == (op->_op_dest = MessageQueue::lookup(msg->dest)))    if( NULL == (op->_op_dest = MessageQueue::lookup(msg->dest)))
    {    {
       op->release();       op->release();
Line 807 
Line 815 
                                        destination,                                        destination,
                                        msg,                                        msg,
                                        destination);                                        destination);
       msg = static_cast<Message *>(wrapper);  
    }    }
    else    else
    {    {
Line 815 
Line 822 
       (static_cast<AsyncMessage *>(msg))->op = op;       (static_cast<AsyncMessage *>(msg))->op = op;
    }    }
  
    op->_callback_notify = _incoming.get_node_cond();  
    _callback.insert_last(op);    _callback.insert_last(op);
    return _meta_dispatcher->route_async(op);    return _meta_dispatcher->route_async(op);
 } }


Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2