Date: | Tue, 7 Aug 2007 05:43:25 -0700 (PDT) |
---|---|
From: | selcuk koyuncu <koyuncu7@xxxxxxxxx> |
Subject: | [Gems-users] MessageBuffer enqueue method |
hi everybody, i ve got a question about MessageBuffers enqueue method and how it is called from Sequencers. "MessageBuffer::enqueue(const MsgPtr &msg, ....)" this method needs an address of MsgPtr type as the first parameter from where we call it, but in Sequencer.C file its been called with "msg" variable which is a "CacheMsg" object, instead of a "MsgPtr" object. (CacheMsg msg; ......... >> m_L1Cache_mandatoryQueue_vec[version].enqueue(msg,...)); CacheMsg is derived from "class Message" and MsgPtr ("typedef RefCnt<Message> MsgPtr" ) uses "Message" as a template, how this could be possiable to call enqueue method with a CacheMsg object, what do i miss, i think, even a key word can help for figure it out. garcias,
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | , (nil) |
---|---|
Next by Date: | Re: [Gems-users] MessageBuffer enqueue method, Mike Marty |
Previous by Thread: | Re: [Gems-users] Message size, link weight, bash code, Niket Agarwal (niketa@xxxxxxxxxxxxx) |
Next by Thread: | Re: [Gems-users] MessageBuffer enqueue method, Mike Marty |
Indexes: | [Date] [Thread] |