Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

Commented Unassigned: BitmapContext not thread safe [20143]

$
0
0
It seems the dictionaries used in the context class have some thread racing occurring when you have multiple WPF render threads (with own dispatchers). Some locks should fix it.
Comments: ** Comment from web user: RaceRalph **

This has already been discussed [HERE](https://writeablebitmapex.codeplex.com/workitem/20005). It seems just replacing Dictionary with ConcurrentDictionary helps. In my project I haven't noticed any performance penalty introduced by this change (I have used a profiler).


Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>