concurrent-collections Questions

2

Solved

I know concepts of stop-the-world, incremental, parallel, concurrent, (soft/hard) realtime garbage collectors. But I can't understanding mostly-concurrent GC. Is it different with concurrent GC? Wh...
Rhombus asked 23/6, 2011 at 12:45

4

How to sort a concurrent collection in .NET 4.0 For example I have constructed my ConcurrentBag collection. How can I sort the elements in it? ConcurrentBag<string> stringCollection; Concur...
Entail asked 9/8, 2011 at 4:12

2

Solved

Basically, if I want to do the following: public class SomeClass { private static ConcurrentDictionary<..., ...> Cache { get; set; } } Does this let me avoid using locks all over the plac...
Ringhals asked 18/7, 2011 at 20:43

3

Solved

What would be the correct usage of either, BlockingCollection or ConcurrentQueue so you can freely dequeue items without burning out half or more of your CPU using a thread ? I was running some te...
Antarctica asked 1/7, 2011 at 9:17

5

Solved

As MSDN says ConcurrentDictionary<TKey, TValue> Class Represents a thread-safe collection of key-value pairs that can be accessed by multiple threads concurrently. But as I know, System.Co...
Sherrylsherurd asked 14/3, 2011 at 19:32

1

I am facing troubles in Concurrent collections and threading, specifically using the AddOrUpdate method in ConcurrentDictionary basically..... I am not able to put it into use.. I couldn't fi...
Ludwog asked 3/1, 2011 at 11:44

3

Solved

I am trying to get an overview of the thread safety theory behind the collections in C#. Why are there no concurrent collections as there are in Java? (java docs). Some collections appear thread ...
Ratify asked 22/12, 2009 at 13:57

© 2022 - 2024 — McMap. All rights reserved.