bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mutex set kind funtionality


From: lramesh
Subject: mutex set kind funtionality
Date: Wed, 26 Sep 2001 18:30:43 +0530

Hello,

   I'm a Linux developer and right now I'm porting an application from SCO
UnixWare 7.1 to RH Linux.
The target machine is RH 7.1 with kernel version 2.4.2-2 and glibc version
2.2.2-10. My application uses
recursive mutexes. So, I need the pthread API
pthread_mutexattr_setkind_np() for setting the attribute
*Recursive*. I have learned that this API is available in glibc version
2.1.3-15 which is used by RH 6.2.

   My query is, is this API available for glibc version 2.2.2-10 too. If it
is not, is there any equivalent API
or alias which I can use in my application?

   I understand that this function is non-portable. But I want the
functionality for two reasons:

 (1) I am not going to port it to any other U*x in future.
 (2) Avoiding recursive mutexes in my application requires major rewrite.

  Can you please help?  Thanks.

Regards,
_____________________________________________________
 L Ramesh
 IBM Software Labs,  Bangalore, India.
 E-mail:  address@hidden
_____________________________________________________





reply via email to

[Prev in Thread] Current Thread [Next in Thread]