Messages in this thread | | | Date | Wed, 04 Aug 2004 18:30:31 +0800 | From | Liu Tao <> | Subject | Re: [patch] Add a writer prior lock methord for rwlock |
| |
Oliver Neukum wrote:
>Am Mittwoch, 4. August 2004 11:09 schrieb Liu Tao: > > >>The patch adds the write_forcelock() methord, which has higher priority than >>read_lock() and write_lock(). The original read_lock() and write_lock() >>is not >>touched, and the unlock methord is still write_unlock(); >> >> > >It seems to me that with this a recursive read_lock() with >a read lock already held may deadlock. > > Regards > > Oliver >
Can you give an example path? Thanks - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |