aalhour / aalhour/C-Sharp-Algorithms
DataStructures.Lists. CircularBuffer is not thread safe.
Offen
- Vorherrschende Sprache
- C#
- Sterne
- 6.2k
- Forks
- 1.4k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
DataStructures.Lists. CircularBuffer
Now
1,CircularBuffer.Add used by Producer threads
2,CircularBuffer.Add.Pop used by Consumer threads
Producer and Consumer is two different threads,when write the _count at the same time, the Count is not the desired value !
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.