mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
Actually define and export pthread_mutexattr_[sg]etrobust.
This commit is contained in:
parent
21dfc00031
commit
78ee218599
@ -1,7 +1,12 @@
|
|||||||
2010-01-14 Ulrich Drepper <drepper@redhat.com>
|
2010-01-14 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* Versions: Add pthread_mutex_consistent for GLIBC_2.12.
|
* Versions: Add pthread_mutex_consistent, pthread_mutexattr_getrobust,
|
||||||
|
and pthread_mutexattr_setrobust for GLIBC_2.12.
|
||||||
* pthread_mutex_consistent.c: Define alias pthread_mutex_consistent.
|
* pthread_mutex_consistent.c: Define alias pthread_mutex_consistent.
|
||||||
|
* pthread_mutexattr_getrobust.c: Define alias
|
||||||
|
pthread_mutexattr_getrobust.
|
||||||
|
* pthread_mutexattr_setrobust.c: Define alias
|
||||||
|
pthread_mutexattr_setrobust.
|
||||||
|
|
||||||
2010-01-12 Ulrich Drepper <drepper@redhat.com>
|
2010-01-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
@ -245,7 +245,8 @@ libpthread {
|
|||||||
};
|
};
|
||||||
|
|
||||||
GLIBC_2.12 {
|
GLIBC_2.12 {
|
||||||
pthread_mutex_consistent;
|
pthread_mutex_consistent; pthread_mutexattr_getrobust;
|
||||||
|
pthread_mutexattr_setrobust;
|
||||||
};
|
};
|
||||||
|
|
||||||
GLIBC_PRIVATE {
|
GLIBC_PRIVATE {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2005 Free Software Foundation, Inc.
|
/* Copyright (C) 2005, 2010 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2005.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2005.
|
||||||
|
|
||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
pthread_mutexattr_getrobust_np (attr, robustness)
|
pthread_mutexattr_getrobust (attr, robustness)
|
||||||
const pthread_mutexattr_t *attr;
|
const pthread_mutexattr_t *attr;
|
||||||
int *robustness;
|
int *robustness;
|
||||||
{
|
{
|
||||||
@ -34,3 +34,4 @@ pthread_mutexattr_getrobust_np (attr, robustness)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
weak_alias (pthread_mutexattr_getrobust, pthread_mutexattr_getrobust_np)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2005 Free Software Foundation, Inc.
|
/* Copyright (C) 2005, 2010 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2005.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2005.
|
||||||
|
|
||||||
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
pthread_mutexattr_setrobust_np (attr, robustness)
|
pthread_mutexattr_setrobust (attr, robustness)
|
||||||
pthread_mutexattr_t *attr;
|
pthread_mutexattr_t *attr;
|
||||||
int robustness;
|
int robustness;
|
||||||
{
|
{
|
||||||
@ -41,3 +41,4 @@ pthread_mutexattr_setrobust_np (attr, robustness)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
weak_alias (pthread_mutexattr_setrobust, pthread_mutexattr_setrobust_np)
|
||||||
|
Loading…
Reference in New Issue
Block a user