queue2: locking and buffering message posting fixes
Make sure queue2 properties are accessed with the lock taken and fix an issue where the buffering message would not be posted when the queue size shrinks.
Make sure queue2 properties are accessed with the lock taken and fix an issue where the buffering message would not be posted when the queue size shrinks.