DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Stories recently tagged with 'MemoryBarrier' Subscribe to this feed
4
kicks
submitted by crpietschmann crpietschmann 1 month, 22 days ago

blogs.msdn.com — That part I knew… what we news to me is there is a better way to do volatile, and that is with an explicitly memory barrier before accessing the data member.. We have a an API for that: System.Threading.Thread.MemoryBarrier(). This is more efficient than using volatile because a volatile field requires all accesses to be barriers and this effects some performance optimizations. read more...

Add a comment add a comment | category: | Views: 11
tags: , , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge