[Info-vax] MQ series client support AST?

Jan-Erik Söderholm jan-erik.soderholm at telia.com
Sun Dec 13 18:41:05 EST 2009


rockdale wrote:
>> Then there are no race condintion. Two separate process could read or 
>> write two separate queues without any problems.
> 
> Two separate process you are talking here is different from the multi- 
> threads I was talking in my post, is it? 2 sepearte process in openVMS
> are 2 independent applications and you use RUN command to run these 2
> applications, right?e

Yes, I ment two (or more) separate processes. Started using RUN,
SUBMIT, SYS$CREPRC or whatever. Threads are (as far as I know)
runed within the same process. Personaly I know very little
about threads (and less about MQ :-) ), so I can not tell
if there is a difference.

> 
> The multi-threads I was talking is withing one application (process) I 
> will sprawl another thread, in this case, openVMS still consider it as 
> one process, right. Based on the MQ documentation, this one process 
> still have a race condition when it access to the diff queue under the 
> same MQ manager.

Maybe, if the MQ docs says so. Not all applications/tools are
"thread-safe", maybe the MQ-API is one of them, I have no idea...

> 
> Sorry for all my questions, just want to be clearify before I implement
> any changes to the already working system.
> 
> Thanks for your help. -Rockdale



More information about the Info-vax mailing list