Skip to content

Instantly share code, notes, and snippets.

Working from home


Working from home
View GitHub Profile
songminkyu / CopyOnWriteDictionary.cs
Created April 7, 2021 04:09 — forked from mikernet/CopyOnWriteDictionary.cs
Thread-Safe, Lock-Free, Append-Only, Copy-On-Write Dictionary
View CopyOnWriteDictionary.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
namespace Singulink.Collections