.net - ReaderWriterLockSlim (not so slim) replacement, recursive, with upgradeable read? -


somehow got lot of readerwriterlockslim in our code. each of them takes 6k memory, has become big issue.

as quick fix, i'm looking less memory-hungry replacement. i'm trying joe duffy's rw-lock, it's not upgradeable , write-recursive (and pretty hard make such).

is there other, more memory-light replacement?

well, obvious approach use readwriterlock (sans slim), believe less memory intensive (but less efficient in scenarios).


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -