This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AlgLink_tskMain的参数pMsg从哪里来的?

HI:

大家好!

algLink_tsk.c文件中AlgLink_tskMain 参数Utils_MsgHndl * pMsg从哪里而来啊?

似乎创建AlgLink_tskMain时候,并没有传进来啊。不明白?

     另外,在usecase中只是看到创建link,并且发送了SYSTEM_CMD_CREATE命令。

但是,没看到AlgLink_tskMain 参数Utils_MsgHndl * pMsg这个从哪里过来的?明显这里

接收了从A8传送过来的SYSTEM_CMD_CREATE消息。但是,就是没看到这个消息从哪里

过来。

Void AlgLink_tskMain(struct Utils_TskHndl *pTsk, Utils_MsgHndl * pMsg)
{
UInt32 cmd = Utils_msgGetCmd(pMsg);
Bool ackMsg, done;
Int32 status;
AlgLink_Obj *pObj;
UInt32 flushCmds[4];

pObj = (AlgLink_Obj *) pTsk->appData;

if (cmd != SYSTEM_CMD_CREATE)
{
Utils_tskAckOrFreeMsg(pMsg, FVID2_EFAIL);
return;
}