Irix k5_os_mutex_lock calls k5_pthread_mutex_lock w/ wrong arg
authorEzra Peisach <epeisach@mit.edu>
Sat, 22 Jan 2005 01:28:14 +0000 (01:28 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 22 Jan 2005 01:28:14 +0000 (01:28 +0000)
commitd9b1e22b1ab80cec6fdb857e04daf272c622b985
treeb80054f291c0e0edd63f0ad3086656712427ca60
parent87f5cb6e233c4d16dc4eed9b9a070088daf02c09
Irix k5_os_mutex_lock calls k5_pthread_mutex_lock w/ wrong arg

        * k5-thread.h (k5_os_mutex_lock): Under Irix, invoke
        k5_pthread_mutex_lock() with the k5_os_mutex, not the
        pthread_mutex_t.
        (k5_pthread_assert_locked,unlocked): If DEBUG_THREADS not used, provide
        correct prototype. Add missing close paren.

Test programs show that under irix, the mutex locking/unlocking code was
working - even with the wrong memory use... I do not understand why.

ticket: new
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17062 dc483132-0cff-0310-8789-dd5450dbe970
src/include/ChangeLog
src/include/k5-thread.h