I find this difficult to believe that this has not been suggested before, but a search of the Idea Exchange has come up null. And maybe there is a reason why this has not been implemented of which someone can enlighten me, but...
Is there anyway we can get a default queue element that is used when a dequeue element times out. I have found that in several recent projects, I end up with queued state machines that look like this:
where I use a select to define a default queue value. It would reduce some of the code bloat if we had a default value available (that was not necessarily the types default value) such as what you might find in the RT FIFO:
But, maybe I am missing something?
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.