hi!
i see the example in <<TMS320C6000 DSP/BIOS Application Programming Interface (API) Reference Guide>>,
-------------------------
that is
QUE_Elem *qelem;.
/* get pointer to first element in the queue */
qelem = QUE_head(queue);
/* scan entire queue for desired element */
while (qelem != queue) {
if(‘ qelem is the elem we’re looking for ‘) {
break;
}
qelem = QUE_next(queue);
}
/* make sure qelem is not the queue itself */
if (qelem != queue) {
QUE_remove(qelem);
}
so my question is that (qelem = QUE_next(queue);) right?
or qelem = QUE_next(qelem );
i think QUE_next() dosen't change the queue position,
Is that right?