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.

C6678 核间通信 Task问题

我看了一些例程,发现核间消息传输都是通过task来完成的,现在我的问题是这样的:我能不能把在main函数里通过某些算法得到一个数据,然后通过task来传输数据?还是我必须把所有的算法程序都放在task里?

我试了一下把数据通过task形参的方式来传输,结果Task_create((Task_FuncPtr)task_fxn(a), &tskParams, &eb);这问一句报了如下错了: error #173: invalid type conversion。到底能不能通过形参来传数据呢?如果能应该怎么改正这个错误呢?

谢谢