mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
Actually define pthread_mutex_consistent.
This commit is contained in:
parent
346bc35c33
commit
402cd98775
@ -1,5 +1,7 @@
|
|||||||
2010-01-14 Ulrich Drepper <drepper@redhat.com>
|
2010-01-14 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* Versions.def: Add GLIBC_2.12 for libpthread.
|
||||||
|
|
||||||
[BZ #11126]
|
[BZ #11126]
|
||||||
* malloc/malloc.c (malloc_info): Initialize malloc if not already
|
* malloc/malloc.c (malloc_info): Initialize malloc if not already
|
||||||
done. Handle empty bin lists.
|
done. Handle empty bin lists.
|
||||||
|
@ -91,6 +91,7 @@ libpthread {
|
|||||||
GLIBC_2.4
|
GLIBC_2.4
|
||||||
GLIBC_2.6
|
GLIBC_2.6
|
||||||
GLIBC_2.11
|
GLIBC_2.11
|
||||||
|
GLIBC_2.12
|
||||||
GLIBC_PRIVATE
|
GLIBC_PRIVATE
|
||||||
}
|
}
|
||||||
libresolv {
|
libresolv {
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2010-01-14 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* Versions: Add pthread_mutex_consistent for GLIBC_2.12.
|
||||||
|
* pthread_mutex_consistent.c: Define alias pthread_mutex_consistent.
|
||||||
|
|
||||||
2010-01-12 Ulrich Drepper <drepper@redhat.com>
|
2010-01-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/pthread/pthread.h: Cleanup. Fix up for XPG7.
|
* sysdeps/pthread/pthread.h: Cleanup. Fix up for XPG7.
|
||||||
|
@ -244,6 +244,10 @@ libpthread {
|
|||||||
pthread_sigqueue;
|
pthread_sigqueue;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GLIBC_2.12 {
|
||||||
|
pthread_mutex_consistent;
|
||||||
|
};
|
||||||
|
|
||||||
GLIBC_PRIVATE {
|
GLIBC_PRIVATE {
|
||||||
__pthread_initialize_minimal;
|
__pthread_initialize_minimal;
|
||||||
__pthread_clock_gettime; __pthread_clock_settime;
|
__pthread_clock_gettime; __pthread_clock_settime;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2005, 2006 Free Software Foundation, Inc.
|
/* Copyright (C) 2005, 2006, 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_mutex_consistent_np (mutex)
|
pthread_mutex_consistent (mutex)
|
||||||
pthread_mutex_t *mutex;
|
pthread_mutex_t *mutex;
|
||||||
{
|
{
|
||||||
/* Test whether this is a robust mutex with a dead owner. */
|
/* Test whether this is a robust mutex with a dead owner. */
|
||||||
@ -34,3 +34,4 @@ pthread_mutex_consistent_np (mutex)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
weak_alias (pthread_mutex_consistent, pthread_mutex_consistent_np)
|
||||||
|
Loading…
Reference in New Issue
Block a user