|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
if my app is multi-processes not threaded, should link which |
« View previous topic :: View next topic » |
Author |
Message
|
andy840920 |
Posted: Thu May 10, 2007 3:08 am Post subject: if my app is multi-processes not threaded, should link which |
|
|
Apprentice
Joined: 29 Apr 2007 Posts: 44
|
if my app is multi-processes and not threaded, should link which lib?
libmqm_r.so or libmqm.so? |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu May 10, 2007 3:50 am Post subject: Re: if my app is multi-processes not threaded, should link w |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Please read this:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzal.doc/amq8342.htm
Quote: |
Linking libraries
The following lists the libraries that you need.
* You need to link your programs with the appropriate library provided by WebSphere MQ.
In a non-threaded environment, link to one of the following libraries:
Library file Program/exit type
libmqm.so Server for C
libmqic.so Client for C
In a threaded environment, link to one of the following libraries:
Library file Program/exit type
libmqm_r.so Server for C
libmqic_r.so Client for C |
_________________ Marcin |
|
Back to top |
|
 |
andy840920 |
Posted: Thu May 10, 2007 6:50 am Post subject: |
|
|
Apprentice
Joined: 29 Apr 2007 Posts: 44
|
a threaded environment is difference multi-process environment?
so, my program should link libmq.so ? |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 10, 2007 7:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
andy840920 wrote: |
a threaded environment is difference multi-process environment? |
You should really know the answer to this question before you try and write either kind of program.
andy840920 wrote: |
so, my program should link libmq.so ? |
What happens when you try it? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|