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

Kick Spy!, Kick Zeitgeist and Kick Widgets

Stories recently tagged with 'lock' Subscribe to this feed
5
kicks
submitted by crpietschmann crpietschmann 5 months, 21 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: 18
tags: , , , | tag it

14
kicks
published 2 years, 4 months ago, submitted by jimholmes 2 years, 4 months ago

haacked.com — Why locking on "this" can be a bad idea -- and how to lock in a safer manner. read more...

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

 

Sponsored Link: www.carlist.ie

Search:

Ads by The Lounge