svn rev #20566: trunk/src/include/

raeburn@MIT.EDU raeburn at MIT.EDU
Tue Jul 22 15:15:53 EDT 2008


Commit By: raeburn
Log Message: 
ticket: 5962
status: open

A step towards ensuring we check mutex lock attempt results...

Always use inline function k5_mutex_lock_1 instead of gcc statement
expression, even under gcc.

Under gcc 4, declane k5_mutex_lock_1 and krb5int_mutex_lock with attribute
warn_unused_result.

In k5_mutex_destroy macro, only store destroy code source+line if we succeed
in temporarily locking the mutex.


Changed Files:
U   trunk/src/include/k5-thread.h



More information about the cvs-krb5 mailing list