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.

为什么ipcbit中的OSA_queGet会挂掉?



在dm8168中,dvrrdk3.0;
在ipcbit.c中,通过循环获取空buff,把h264数据送入m3video中;

    while (TRUE == chCfg->clientEnable)
    {
        OSA_waitMsecs(8);

        status = OSA_queGet(&thrObj->bufQFreeBufs,(Int32 *)(&pEmptyBuf),OSA_TIMEOUT_FOREVER);

        pEmptyBuf->channelNum = chCfg->channel;
        pEmptyBuf->codingType = 0;
        pEmptyBuf->timeStamp  = OSA_getCurTimeInMsec();
        pEmptyBuf->fillLength = 0;

这个上面的延时8ms ,为什么这个8ms 改小后,OSA_queGet 就会一直阻塞在这个位置?这个是什么原因呢?