Unix Technical Forum

How do you determine if AIX has multithreading enabled? What happpens if u try to load a multhrithreaded library using dlopen() and OS does not support it?

This is a discussion on How do you determine if AIX has multithreading enabled? What happpens if u try to load a multhrithreaded library using dlopen() and OS does not support it? within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi all, How do you determine if AIX has multithreading enabled? and what happpens if u try to load ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 09:13 AM
harshanand.nayak@gmail.com
 
Posts: n/a
Default How do you determine if AIX has multithreading enabled? What happpens if u try to load a multhrithreaded library using dlopen() and OS does not support it?

Hi all, How do you determine if AIX has multithreading enabled? and
what happpens if u try to load a multhrithreaded library using
dl_open() and OS does not support it? Thanks in advance, Harsha

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 09:14 AM
Gary R. Hook
 
Posts: n/a
Default Re: How do you determine if AIX has multithreading enabled? Whathapppens if u try to load a multhrithreaded library using dlopen() and OSdoes not support it?

harshanand.nayak@gmail.com wrote:
> Hi all, How do you determine if AIX has multithreading enabled? and
> what happpens if u try to load a multhrithreaded library using
> dl_open() and OS does not support it? Thanks in advance, Harsha
>


Since AIX 4.1, threads have existed and are available by default.

If your non-threaded program dynamically loads a threaded module,
and the module has a direct dependency upon libpthreads, then
the pthreads library will get loaded and the threading environment
in your process will start up. Bang, you're a threaded application.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com