Vincent Povirk madewokherd@gmail.com writes:
This keeps the QS_SMRESULT bit in sync with the reply status of the most recent sent message, if it happens that the previously-most-recent sent message already has a reply. wait_message_reply depends on this to work correctly.
I believe you'll also need to set it again when the result is removed.