<div dir="ltr"><p>Your code is safe for multiple threads to post to the queue.<br></p><p>But you also must make sure, that Processing a messsage from queue, would not break Posting safetiness. The easiest way, is to wrap message extraction into the same fpgApplication.Lock</p>
<p>You must also make sure, that no thread can try to post message, after fpgApplicaiton is released. And it's quite possible situation, that causes "strange errors" on application finalization.</p></div>