Code Monkey home page Code Monkey logo

concurrent-circbuf's Introduction

Concurrent channels based on circular buffer

Build Status License

CAVEAT: This crate is WIP, and is not yet available in crates.io.

This crate provides concurrent channels based on circular buffer.

Usage

Add this to your Cargo.toml:

[dependencies]
concurrent-circbuf = { git = "https://github.com/jeehoonkang/concurrent-circbuf.git" }

Next, add this to your crate:

extern crate concurrent_circbuf as circbuf;

License

Licensed under the terms of MIT license and the Apache License (Version 2.0).

See LICENSE-MIT and LICENSE-APACHE for details.

concurrent-circbuf's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar jeehoonkang avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

schets

concurrent-circbuf's Issues

Dependabot can't resolve your Rust dependency files

Dependabot can't resolve your Rust dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

    Updating git repository `https://github.com/jeehoonkang/crossbeam.git`
    Updating crates.io index
error: failed to select a version for the requirement `memoffset = "^0.3"`
  candidate versions found which didn't match: 0.2.1, 0.2.0, 0.1.0
  location searched: crates.io index
required by package `concurrent-circbuf v0.1.0 (/home/dependabot/dependabot-updater/dependabot_tmp_dir

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Dependabot can't resolve your Rust dependency files

Dependabot can't resolve your Rust dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

    Updating git repository `https://github.com/jeehoonkang/crossbeam.git`
    Updating crates.io index
error: failed to select a version for the requirement `memoffset = ">= 0.3"`
  candidate versions found which didn't match: 0.2.1, 0.2.0, 0.1.0
  location searched: crates.io index
required by package `concurrent-circbuf v0.1.0 (/home/dependabot/dependabot-updater/dependabot_tmp_dir

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Reorganize modules

I'm thinking of reorganizing modules in three dimensions: (1) # of producers, (2) # of consumers, and (3) boundedness.

  • sp

    • base.rs (currently src/sp.rs)
    • sc.rs (currently bounded/spsc.rs and unbounded/spsc.rs)
      • mod bounded, mod unbounded
    • mc.rs (currently bounded/spmc.rs and unbounded/spmc.rs)
      • mod bounded, mod unbounded
  • mp

Then in the crate root, expose 8 flvaors of channels in appropriate names.

Overhaul testing

How to systematically establish the correctness of this library?

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.