I need to use read-write lock, but I would also like to be sure that the lock is recursive in both read and write mode, so that calling function that uses it on the same thread doesn't lock.
I found nothing on MSDN docs. Maybe it's hidden somewhere and I didn't find it?