Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>EDIT: This was written prior to .NET 4 being released, when obviously there's <code>ConcurrentDictionary</code>. I'm leaving it here as a reference for those needing .NET 3.5.</p> <p>I don't know of any equivalent to <code>ConcurrentHashMap</code>.</p> <p>In terms of general concurrency utilities - .NET has always provided a bit more than the basics which Java used to provide, in terms of <a href="http://msdn.microsoft.com/en-us/library/system.threading.mutex.aspx" rel="nofollow noreferrer"><code>Mutex</code></a>, <a href="http://msdn.microsoft.com/en-us/library/system.threading.manualresetevent.aspx" rel="nofollow noreferrer"><code>ManualResetEvent</code></a>, <a href="http://msdn.microsoft.com/en-us/library/system.threading.autoresetevent.aspx" rel="nofollow noreferrer"><code>AutoResetEvent</code></a> and <a href="http://msdn.microsoft.com/en-us/library/system.threading.readerwriterlock.aspx" rel="nofollow noreferrer"><code>ReaderWriterLock</code></a>; then more recently (.NET 2.0) <a href="http://msdn.microsoft.com/en-us/library/system.threading.semaphore.aspx" rel="nofollow noreferrer"><code>Semaphore</code></a> and (.NET 3.5) <a href="http://msdn.microsoft.com/en-us/library/system.threading.readerwriterlockslim.aspx" rel="nofollow noreferrer"><code>ReaderWriterLockSlim</code></a> - as well as the process-wide thread pool, of course.</p> <p>A bigger shake-up will come in .NET 4.0 when Parallel Extensions arrives - that should make concurrency <em>much</em> simpler. Likewise the <a href="http://channel9.msdn.com/pdc2008/TL55/" rel="nofollow noreferrer">Coordination and Concurrency Runtime</a> is finally breaking free of the shackles of the Microsoft Robotics Studio, although I'm not clear on exactly where it's headed (whether it'll be part of .NET itself, or a separate library).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload