K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-10-31T09:09:22.753037Z K 7 svn:log V 407 Merge revision 183061 from head to stable/7. > 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. Approved by: re (kib) END