> > /* skip the src nodes which not bind with current worker */ > > if ((int32_t)head < 0 && node->dispatch.lcore_id != graph- > > >dispatch.lcore_id) > > continue; > > - > > + head++; > If current src node not bind with current core, It will go into infinite loop. > This line would have no chance to run.
Seems reasonable, it might be OK to change "head<0" to "head <1" the condition check?