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.

IPC中的Ipc_attach( )用法



在IPC例程中更改Ipc.procSync = Ipc.ProcSync_PAIR;

程序在这个地方一直跳不出while循环,求指导?谢谢

    status = Ipc_start();
    if (status < 0)
    {
        System_abort("Ipc_start failed\n");
    }

    if(MultiProc_self() == 0)
    {
        while(Ipc_attach(1)){ Task_sleep(1); }
    }