Task: block on queue & semaphore
Is it possible to have a task which blocks on both a queue and a semaphore?
I have a pin interrupt (from a tacho). It puts the current value of xTicks onto a queue. The task blocks on this queue, and counts pulses and total accumulated time.
The tick interrupt sets a semaphore at exactly one second. At this semaphore, the tacho task needs to send its accumulated data to a queue for another task.