David Xu d8b04dc0d4 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.
2008-09-16 01:46:11 +00:00
..
2007-07-24 06:41:07 +00:00
2008-03-26 07:32:08 +00:00
2007-07-03 12:46:08 +00:00