Closed qjivy closed 3 years ago
In the above code snippet, MList entry of the task_0_networkdesc and task*_network_desc are found out by the two getNetworkDescMemId calls. Then the two for loops push the corresponding MemoryListEntry into the task->address_list. Could anyone please give some explanation about why we need to put these MemoryListEntry elements into the task->address_list, and why it's done in such way?
Thanks !
In the above code snippet, MList entry of the task_0_network_desc and task_*_network_desc are found out by the two getNetworkDescMemId calls. Then the two for loops push the corresponding MemoryListEntry into the task->address_list.
Could anyone please give some explanation about why we need to put these MemoryListEntry elements into the task->address_list, and why it's done in such way? Thanks !
There are two tasks in these model, one do the networks, and the other one use for get the result. Every task has its address list where store its memory address. The Memory store the data whiche is needed by the task;
mList store memory address needed by the tasks, every task has 6, the code above get its memory for each task;