Skip to content

Instantly share code, notes, and snippets.

View songminkyu's full-sized avatar
🏠
Working from home

songminkyu

🏠
Working from home
View GitHub Profile
@songminkyu
songminkyu / CopyOnWriteDictionary.cs
Created April 7, 2021 04:09 — forked from mikernet/CopyOnWriteDictionary.cs
Thread-Safe, Lock-Free, Append-Only, Copy-On-Write Dictionary
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