Code Monkey home page Code Monkey logo

lockfreeds's Introduction

LockFreeDS

实现常用的lock-free数据结构,下面对各个源文件做一个简单的说明.

队列实现、测试和性能测试相关文件如下:

fifo_1to1.c fifo_1to1.h  //类似于Linux内核KFIFO的Lock-Free实现,用于单生产者和单消费者时非常高效
fifo_1to1_test.c         //对fifo_1to1实现正确性测试
fifo_1to1_benchmark.c    //对使用fifo_1to1与通常使用mutex情况进行性能对比
fifo_1to1_benchmark.sh   //一个shell脚本,对使用fifo_1to1与通常使用mutex情况执行多次,取平均值得一个性能对比

lockfreeds's People

Contributors

maximuszhou avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.