msmq - How do you wait to receive one of several MessageQueue's in .NET? -


i porting older c++ component c#. it's job sit idle, until message arrives on 1 of several queues, deal it.

in c++ used waitformultipleobjects, passing array of handles each of queues we're monitoring.

in .net, messagequeue class has .receive() method blocks until message arrives, not see obvious way block until message of several queues arrives.

ideally not want use asynchronous api. .net program using native libraries not thread safe.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -