RE: can pthread and pth coexist

2003-10-21 Thread Steve Alstrin
If you are doing this on Linux you can use the HARD system call method, look
at the config options, which when you link will use the pthread emulation
api in pth threads.

-Original Message-
From: Thor Tall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 5:02 AM
To: [EMAIL PROTECTED]
Subject: can pthread and pth coexist


We are using COTS library which is using pthread and a
number of other libraries which we can not recompile.
These libraries are calling a number of system calls
which there are pth replacements for.

Are there any problems using both pthread and pth in
the same program under linux redhat 7.3?

I assume that the libraries which are performing
non-pth system calls will influence the performance of
the process i.e. the other threads in the process? can
this be avoided? Can the fact that these libraries
perform non-pth system calls cause problems for pth?
and if so can these be overcome?

Thanks


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]


can pthread and pth coexist

2003-10-21 Thread Thor Tall
We are using COTS library which is using pthread and a
number of other libraries which we can not recompile.
These libraries are calling a number of system calls
which there are pth replacements for.

Are there any problems using both pthread and pth in
the same program under linux redhat 7.3?

I assume that the libraries which are performing
non-pth system calls will influence the performance of
the process i.e. the other threads in the process? can
this be avoided? Can the fact that these libraries
perform non-pth system calls cause problems for pth?
and if so can these be overcome?

Thanks


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
__
GNU Portable Threads (Pth)http://www.gnu.org/software/pth/
Development Site  http://www.ossp.org/pkg/lib/pth/
Distribution Files  ftp://ftp.gnu.org/gnu/pth/
Distribution Snapshots ftp://ftp.ossp.org/pkg/lib/pth/
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager (Majordomo)   [EMAIL PROTECTED]