Giter Site home page Giter Site logo

mulle-concurrent

📶 A lock- and wait-free hashtable (and an array too), written in C

mulle-concurrent is a library for lock- and wait-free data structures. Wait-freeness is a desirable property for "hotly" contested data structures in multi-threaded environments.

Many of the ideas are taken from Preshing on Programming: A Resizable, Concurrent Map. The definition of concurrent and wait-free are from concurrencyfreaks.blogspot.de

Release Version Release Notes
Mulle kybernetiK tag Build Status RELEASENOTES

API

Data Structure Description
mulle-concurrent-hashmap A wait and lock free hashmap
mulle-concurrent-pointerarray A wait and lock free array

You are here

Overview

Add

This project is a component of the mulle-core library. As such you usually will not add or install it individually, unless you specifically do not want to link against mulle-core.

Add as an individual component

Use mulle-sde to add mulle-concurrent to your project:

mulle-sde add github:mulle-concurrent/mulle-concurrent

To only add the sources of mulle-concurrent with dependency sources use clib:

clib install --out src/mulle-concurrent mulle-concurrent/mulle-concurrent

Add -isystem src/mulle-concurrent to your CFLAGS and compile all the sources that were downloaded with your project.

Install

Install with mulle-sde

Use mulle-sde to build and install mulle-concurrent and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/mulle-concurrent/mulle-concurrent/archive/latest.tar.gz

Manual Installation

Install the requirements:

Requirements Description
mulle-aba 🚮 A lock-free, cross-platform solution to the ABA problem

Download the latest tar or zip archive and unpack it.

Install mulle-concurrent into /usr/local with cmake:

cmake -B build \
      -DCMAKE_INSTALL_PREFIX=/usr/local \
      -DCMAKE_PREFIX_PATH=/usr/local \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK

mulle-concurrent's Projects

deboost.context icon deboost.context

"Deboostified" version of boost.context (coroutines), Plain and simple C API for context switching. Easy build on multiple platforms.

mintomic icon mintomic

Mintomic: A Small, Portable Lock-Free API

mulle-aba icon mulle-aba

🚮 A lock-free, cross-platform solution to the ABA problem

mulle-fifo icon mulle-fifo

🔜 fixed sized producer/consumer FIFOs holding void *

mulle-multififo icon mulle-multififo

🐛 mulle-multififo multi-producer/multi-consumer FIFO holding `void *`

mulle-thread icon mulle-thread

🔠 Cross-platform thread/mutex/tss/atomic operations in C

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.