mje Posted September 21, 2010 Report Share Posted September 21, 2010 Is there any priority logic that gets applied to tasks that are blocked on a DVR refnum at an in place element structure? That is, consider two tasks which are both blocked while waiting for a refnum to become available. Is there any way to know which will be allowed to operate first? Does the priority of the containing VI affect this decision at all? Does the order in which the tasks blocked influence which will be signaled first? What about the phase of the moon? Quote Link to comment
Yair Posted September 22, 2010 Report Share Posted September 22, 2010 I'm guessing it's whoever got there first, but since it's not documented, you can't rely on it even if someone tells you the implementation currently favors VIs with a higher priority. Quote Link to comment
Jarrod S Posted September 24, 2010 Report Share Posted September 24, 2010 Is there any priority logic that gets applied to tasks that are blocked on a DVR refnum at an in place element structure? That is, consider two tasks which are both blocked while waiting for a refnum to become available. Is there any way to know which will be allowed to operate first? Does the priority of the containing VI affect this decision at all? Does the order in which the tasks blocked influence which will be signaled first? What about the phase of the moon? I bet it's the order that they arrive at the IPE structure. I really really doubt that VI priority plays any role. For instance, I know for a fact that VI priority does not seem to play a role for queues when two Dequeue operations are competing for the same queue reference. Granted, DVRs may be a little different, but I doubt they're that different. Quote Link to comment
mje Posted September 24, 2010 Author Report Share Posted September 24, 2010 I have my doubts about priority as well. I was thinking it was most likely first to the line or possibly the behavior might be explicitly undefined. Quote Link to comment
Djed Posted October 4, 2010 Report Share Posted October 4, 2010 Is there any priority logic that gets applied to tasks that are blocked on a DVR refnum at an in place element structure? That is, consider two tasks which are both blocked while waiting for a refnum to become available. Is there any way to know which will be allowed to operate first? Does the priority of the containing VI affect this decision at all? Does the order in which the tasks blocked influence which will be signaled first? What about the phase of the moon? Yair is correct; actually, all the responses look good. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.