[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mutex set kind funtionality
From: |
Duncan Palmer |
Subject: |
Re: mutex set kind funtionality |
Date: |
Thu, 27 Sep 2001 15:14:39 +0100 |
address@hidden wrote:
>
> 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?
The functionality you're looking for is there in glibc2.2.2 - you will
have to define _GNU_SOURCE to get it. 'info libc' will give you the
details...
--
Duncan Palmer
address@hidden
Software Design Engineer Phone:
+353-1-2911561
Silicon and Software Systems Fax:
+353-1-2911001