Search code examples
windows-8windows-phone-8windows-runtimec#-5.0

ReaderWriterLock Class not supported in winRT


I have to use ReaderWriterLock Class and I am unable to find any helping material from Google. please describe how can I achieve this functionality in winRT.


Solution

  • You may use ReaderWriterLockSlim.

    Check this article: https://blogs.microsoft.co.il/iblogger/2013/01/14/concurrency-winrt-observablecollection-and-iteration/.