Giter VIP home page Giter VIP logo

so5_tricky_thread_pool_disp_en's Introduction

What is it?

This is a demo of the creation of own thread_pool dispatcher for SObjectizer-5.6. This dispatcher uses own demands sheduling policy. The full description of this example can be found here.

There are two examples inside the repository:

  • adv_thread_pool_case. Uses the standard adv_thread_pool-dispatcher from SObjectizer;
  • tricky_disp_case. Uses own tricky thread_pool-dispatcher.

How to get and try?

It is necessary to use a C++ compiler with support for C++17 (checked under gcc-7.3 and vc++ 15.9).

Ruby and MxxRu are required. If someone needs a support for CMake please create an issue.

Compilation with MxxRu

To compile the examples with MxxRu the Ruby and RubyGems are required (RubyGems is installed with Ruby usually, if not the RubyGems should be installed manually). To install MxxRu the following command should be run:

gem install Mxx_ru

After the installation of Ruby, RubyGems and MxxRu the examples can be taken from the git-repository:

hg clone https://github.com/Stiffstream/so5_tricky_thread_pool_disp_en
cd so5_tricky_thread_pool_disp_en
mxxruexternals
cd dev
ruby build.rb

Or an archive with a name like so5_tricky_thread_pool_disp_en-*-full.zip can be downloaded from Releases. Then:

unzip so5_tricky_thread_pool_disp_en-201909051300-full.zip
cd so5_tricky_thread_pool_disp_en/dev
ruby build.rb

The complied example should be inside target/release subfolder.

One can also do the following command before the compilation:

cp local-build.rb.example local-build.rb

The content of local-build.rb can be edited to reflect the specific needs of a user.

so5_tricky_thread_pool_disp_en's People

Contributors

eao197 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.