cvs commit: src/libexec/rtld-elf rtld_lock.c
David Xu
davidxu at FreeBSD.org
Tue Sep 16 01:46:15 UTC 2008
davidxu 2008-09-16 01:46:11 UTC
FreeBSD src repository
Modified files:
libexec/rtld-elf rtld_lock.c
Log:
SVN rev 183061 on 2008-09-16 01:46:11Z by davidxu
Allow multiple locks to be acquired by detecting corresponding
bit flag, otherwise if a thread acquired a lock, another thread
or the current thread itself can no longer acquire another lock
because thread_mask_set() return whole flag word, this results
bit leaking in the word and misbehavior in later locking and
unlocking.
Revision Changes Path
1.6 +2 -2 src/libexec/rtld-elf/rtld_lock.c
More information about the cvs-src
mailing list