Linux thread problem
Hi All,
I am porting an Threading Application from Hp-UX 11.0
to Red Hat Linux 6.2. There is a system call pthread_condattr_setpshared and pthread_mutex_setpshared in HP-UX which is not available on Linux. So please let me know how to implement the functionality of these funtions in Red Hat Linux 6.2. These functions are used to set the process shared attribute in a condition and mutex variable attributes
object.
Thanks in Advance
Sachin
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
Quoted 3 lines · sachin kitnawat
I am porting an Threading Application from Hp-UX 11.0
to Red Hat Linux 6.2. There is a system callpthread_condattr_setpsharedandpthread_mutex_setpsharedin HP-UX which is not available on Linux.
Newer glibc versions (2.2+) have this.
Try
http://sources.redhat.com/glibc/
Note that all this is user space, not kernel space.
Quoted 3 lines
I am porting an Threading Application from Hp-UX 11.0
to Red Hat Linux 6.2. There is a system callpthread_condattr_setpsharedandpthread_mutex_setpsharedin HP-UX which is not available on Linux.
They are actually library not system calls in Linux and may well not be in earlier glibc. You might want to see if glibc2.2 has them.
For Red Hat stuff there are Red Hat lists
http://www.redhat.com/mailing-lists
Alan