I can't seem to find this in the documentation or FAQ.
What is the criteria for choosing the thread to release from send/receive on a queue?Highest priority or longest waiting (or other, I suppose).
It is always the highest priority task that is unblocked. Where there are two or more tasks of equal priority then the one that has been waiting the longest is unblocked.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.