Update.
2001-08-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_lock_t): Define non-opaque lock types also if _IO_MTSAFE_IO is defined.
This commit is contained in:
parent
51df989ed6
commit
82ad8034aa
|
@ -1,3 +1,8 @@
|
||||||
|
2001-08-26 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/pthread/bits/libc-lock.h (__libc_lock_t): Define
|
||||||
|
non-opaque lock types also if _IO_MTSAFE_IO is defined.
|
||||||
|
|
||||||
2001-08-23 Roland McGrath <roland@frob.com>
|
2001-08-23 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_region_start): Take
|
* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_region_start): Take
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
/* Mutex type. */
|
/* Mutex type. */
|
||||||
#ifdef _LIBC
|
#if defined(_LIBC) || defined(_IO_MTSAFE_IO)
|
||||||
typedef pthread_mutex_t __libc_lock_t;
|
typedef pthread_mutex_t __libc_lock_t;
|
||||||
typedef pthread_rwlock_t __libc_rwlock_t;
|
typedef pthread_rwlock_t __libc_rwlock_t;
|
||||||
typedef struct { pthread_mutex_t mutex; } __libc_lock_recursive_t;
|
typedef struct { pthread_mutex_t mutex; } __libc_lock_recursive_t;
|
||||||
|
|
Loading…
Reference in a new issue