[Info-vax] MQ on Alpha ?
Joseph Huber
joseph.huber at NOSPAM.web.de
Fri Dec 11 04:29:59 EST 2009
Jan-Erik Söderholm wrote:
> Hein RMS van den Heuvel wrote:
snip [...]
> > Besides the basic GET you can also program INQuires to peek ahead in
> > the queue and fun stuff like that.
> >
> > What you do NOT want to do is a classic poll where you try a GET and
> > go to sleep for a while if nothing found, to retry later.
>
> Agree... :-)
>
> Very good input. Thanks !
Not using MQ myself, but in general if a facility offers only a polling
method:
Use pthread to do the polling in a parallel thread, and use VMS sys$dclast
when a message arrives.
--
Joseph Huber, http://www.huber-joseph.de
More information about the Info-vax
mailing list