Jump to content

Priority for IPEs blocked on DVR references


Recommended Posts

Posted

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?

Posted

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.

Posted

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.

Posted

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.

  • 2 weeks later...
Posted

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. :thumbup1:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.