2013-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/pthread.h: Add PTHREAD_RWLOCK_INITIALIZER. Fix typo on PTHREAD_COJND_INITIALIZER.
This commit is contained in:
parent
761dfa99ba
commit
6c3f590cd9
|
@ -1,3 +1,8 @@
|
|||
2013-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libc/include/pthread.h: Add PTHREAD_RWLOCK_INITIALIZER.
|
||||
Fix typo on PTHREAD_COJND_INITIALIZER.
|
||||
|
||||
2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||
|
||||
* libc/machine/aarch64/strncmp.S: Correct arithmetic for
|
||||
|
|
|
@ -104,7 +104,7 @@ int _EXFUN(pthread_cond_destroy, (pthread_cond_t *__mutex));
|
|||
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
|
||||
*/
|
||||
|
||||
#define PTHREAD_COND_INITIALIZER ((pthread_mutex_t) 0xFFFFFFFF)
|
||||
#define PTHREAD_COND_INITIALIZER ((pthread_cond_t) 0xFFFFFFFF)
|
||||
|
||||
/* Broadcasting and Signaling a Condition, P1003.1c/Draft 10, p. 101 */
|
||||
|
||||
|
@ -328,6 +328,13 @@ int _EXFUN(pthread_spin_unlock, (pthread_spinlock_t *__spinlock));
|
|||
|
||||
#if defined(_POSIX_READER_WRITER_LOCKS)
|
||||
|
||||
/* This is used to statically initialize a pthread_rwlock_t. Example:
|
||||
|
||||
pthread_mutex_t mutex = PTHREAD_RWLOCK_INITIALIZER;
|
||||
*/
|
||||
|
||||
#define PTHREAD_RWLOCK_INITIALIZER ((pthread_rwlock_t) 0xFFFFFFFF)
|
||||
|
||||
int _EXFUN(pthread_rwlockattr_init, (pthread_rwlockattr_t *__attr));
|
||||
int _EXFUN(pthread_rwlockattr_destroy, (pthread_rwlockattr_t *__attr));
|
||||
int _EXFUN(pthread_rwlockattr_getpshared,
|
||||
|
|
Loading…
Reference in New Issue