+2003-09-20 Ulrich Drepper <drepper@redhat.com>
+
+ * pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): Change
+ type of DECR parameter to int.
+ * pthreadP.h: Adjust prototype of __pthread_mutex_unlock_usercnt.
+
2003-09-18 Jakub Jelinek <jakub@redhat.com>
* tst-attr3.c (tf, do_test): Print stack start/end/size and
extern int __pthread_mutex_unlock_internal (pthread_mutex_t *__mutex)
attribute_hidden;
extern int __pthread_mutex_unlock_usercnt (pthread_mutex_t *__mutex,
- bool __decr)
+ int __decr)
attribute_hidden internal_function;
extern int __pthread_mutexattr_init (pthread_mutexattr_t *attr);
extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *attr);
internal_function attribute_hidden
__pthread_mutex_unlock_usercnt (mutex, decr)
pthread_mutex_t *mutex;
- bool decr;
+ int decr;
{
switch (__builtin_expect (mutex->__data.__kind, PTHREAD_MUTEX_TIMED_NP))
{
__pthread_mutex_unlock (mutex)
pthread_mutex_t *mutex;
{
- return __pthread_mutex_unlock_usercnt (mutex, true);
+ return __pthread_mutex_unlock_usercnt (mutex, 1);
}
strong_alias (__pthread_mutex_unlock, pthread_mutex_unlock)
strong_alias (__pthread_mutex_unlock, __pthread_mutex_unlock_internal)