[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    Re: HPUX-DEVTOOLS: shl_load(), libpthreads, Oracle and Thread Local Storage
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2000-09-14 6:07:43
[Download RAW message or body]

>But the a.out does not use pthreads at all.

You may need two versions of the a.out.  Adding pthreads may slow things
down if you never load your shared library.

>Are you saying that this will work:

Yes.

>3) a.out calls shl_load() of the shared library and the shared library will
>somehow resolve its pthreads function from the -lpthread in the a.out link?
PauL

Yes, this is how shl_load works if you're linking with libpthread.sl.
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic