(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

ReaderWriterLockSlim on Windows Phone 8 and the seemingly random MethodAccessException

(0 votes)
0 comments   /   posted by Silverlight Show on Jan 14, 2013
Tags:   windows-phone , jerome-laban

Read original post at Jerome Laban's Blog

Windows Phone 8’s move to the NT kernel has had a lot of advantages for the developer, such as the move to the same .NET CLR as the Desktop Windows, but also the ability to have multi-core based environment.

More specifically, there is one access synchronization – the ReaderWriterLockSlim – which makes a lot of sense in real multi-core environment.

I’ve been using this class to synchronize access to a dictionary abstraction for performance reasons and also for legacy reasons, since that the Concurrent Collections are available. Note that we do have a new tool in the toolbox, the BCL Immutable Collections, that are becoming my new preferred way for creating collections.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter