Coder Social home page Coder Social logo

concurrencyutilities's Introduction

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

concurrencyutilities's People

Contributors

etishor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

concurrencyutilities's Issues

Any plans on adding LongMaxUpdater?

I'm trying to port Netflix' Hystrix library to .net. For the LongAdder I've been able to use your StripedLongAdder class, but there's no counterpart for LongMaxUpdater.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.