GithubHelp home page GithubHelp logo

ebyrds / szymanskis_mutex Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 33 KB

Algorithm devised by Boleslaw Szymanski. This MutEx has linear wait and only 5 communication variables

License: MIT License

Ruby 100.00%
mutex mutex-synchronisation mutexes mutex-lock race-conditions ruby rubygem szymanski

szymanskis_mutex's People

Contributors

ebyrds avatar remigioamc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

remigioamc

szymanskis_mutex's Issues

Can't run rspec in development

Gemfile.lock is not checked into version control to avoid conflicts with Travis. But now bundle install doesn't work and rspec is not installed.

Ensure that exception is raised

Ensure that an exception created inside the critical section is raised through the class_method into the caller, while still executing the exit_protocol.

Write specs to prove this.

Still not a gem

This code is intended to be a rubygem but as it is my first gem I'm still learning how to do this. Any help would be greatly appreciated!

It is intended to work on Rails, being able to install it using the command:

$ gem install szymanskis_mutex

or through the Gemfile

Complete unit testing

Prove that two classes inheriting from the same class that includes this module would conflict in some specific functions and using the function mutual_exclusion will make them work correctly.

Prove that different concern will not conflict and both will work properly.

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.