[Cbe-oss-dev] [PATCH 5/10] MARS: task queue push pop cleanup
Geoff Levand
geoffrey.levand at am.sony.com
Fri Aug 29 11:13:59 EST 2008
Yuji Mano wrote:
> +
> + /* increment queue count */
> + queue->count++;
> +
> + /* increment queue push ea */
> + queue->push_ea += queue->size;
> +
> + /* wrap to front of queue if necessary */
> + if (queue->push_ea == queue->buffer_ea + (queue->size * queue->depth))
Operator precedence is * then + then ==, so these parenthesis are not needed.
More information about the cbe-oss-dev
mailing list