Skip to content

etishor/ConcurrencyUtilities

Repository files navigation

Concurrency Utilities

.NET Concurrency Utilities

Build status

Available utilities:

  • VolatileDouble
  • AtomicLong
  • PaddedAtomicLong (padded version for atomic long to avoid false sharing)
  • StripedLongAdder ( port of java.util.concurrent.atomic.LongAdder originally written by Doug Lea)
  • Striped64 ( port of java.util.concurrent.atomic.Striped64 originally written by Doug Lea)
  • ThreadLocalAdder ( similar with StripedLongAdder using ThreadLocal<> )

This utilities have been introduced in the Metrics.NET library, but can be useful for other projects also.

Install

To start using the library, install the ConcurrencyUtils NuGet package, using the package management UI or from the package management console run:

Install-Package ConcurrencyUtils

Or, if you prefer to just include the source code and avoid having a new assembly reference

Install-Package ConcurrencyUtils.Source

License

This library is release under Apache 2.0 License ( see LICENSE ) Copyright (c) 2015 Iulian Margarintescu

About

.NET Concurrency Utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published