Say you have a standard while(1){...} task implementation that's pending on some event object to wake it up. Now, inside that task, you need to pend on something else (e.g., data from another core, task, or whatever). From another task, how does one determine at runtime which of those two event objects the task is currently blocked on?
I know it's doable because ROV (in CCS) can determine the information, but I can't find any reference to this type of query in the documentation.