ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » if my app is multi-processes not threaded, should link which

Post new topic  Reply to topic
 if my app is multi-processes not threaded, should link which « View previous topic :: View next topic » 
Author Message
andy840920
PostPosted: Thu May 10, 2007 3:08 am    Post subject: if my app is multi-processes not threaded, should link which Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Thu May 10, 2007 3:50 am    Post subject: Re: if my app is multi-processes not threaded, should link w Reply with quote

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
View user's profile Send private message Visit poster's website
andy840920
PostPosted: Thu May 10, 2007 6:50 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu May 10, 2007 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » if my app is multi-processes not threaded, should link which
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.