日記
Thread.VolatileRead, VolatileWrite, MemoryBarrier Interlocked.CompareExchange CompareExchange スピンロック、インターロックアップデート(楽観的同時実行制御) lock-free アルゴリズム ダイレクトインターロックアップデート Interlocked Anything パターン C# 4.0 から event の内部実装がこれに カーネルモード同期 AutoResetEvent, ManualResetEvent, AutoResetEventSlim Smaphore Mutex Monitor lock(obj) -> Monitor.TryEnter, Monitor.TryExit System.Reflection.Emit.OpCodes