{"id":18720449,"url":"https://github.com/stiffstream/so5_tricky_thread_pool_disp_en","last_synced_at":"2025-11-10T21:30:14.890Z","repository":{"id":92244939,"uuid":"206525806","full_name":"Stiffstream/so5_tricky_thread_pool_disp_en","owner":"Stiffstream","description":"This is a demo of the creation of own thread_pool dispatcher for SObjectizer-5.6.","archived":false,"fork":false,"pushed_at":"2024-02-12T09:49:37.000Z","size":60,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-28T11:28:17.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stiffstream.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-05T09:29:22.000Z","updated_at":"2022-04-22T07:47:37.000Z","dependencies_parsed_at":"2024-02-03T08:35:18.145Z","dependency_job_id":"a352cda7-ea41-4330-bd4d-0e58ae436dd2","html_url":"https://github.com/Stiffstream/so5_tricky_thread_pool_disp_en","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stiffstream%2Fso5_tricky_thread_pool_disp_en","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stiffstream%2Fso5_tricky_thread_pool_disp_en/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stiffstream%2Fso5_tricky_thread_pool_disp_en/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stiffstream%2Fso5_tricky_thread_pool_disp_en/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stiffstream","download_url":"https://codeload.github.com/Stiffstream/so5_tricky_thread_pool_disp_en/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239583585,"owners_count":19663225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T13:31:07.492Z","updated_at":"2025-11-10T21:30:14.814Z","avatar_url":"https://github.com/Stiffstream.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is it?\n\nThis is a demo of the creation of own thread_pool dispatcher for SObjectizer-5.8.\nThis dispatcher uses own demands sheduling policy. The full description of this example can be found [here](https://github.com/Stiffstream/sobjectizer/wiki/SO-5.8-Tutorials-TrickyThreadPool-Intro).\n\nThere are two examples inside the repository:\n\n* adv_thread_pool_case. Uses the standard adv_thread_pool-dispatcher from SObjectizer;\n* tricky_disp_case. Uses own tricky thread_pool-dispatcher.\n\n# How to get and try?\n\nIt is necessary to use a C++ compiler with support for C++17.\n\nCMake or Ruby+MxxRu are required.\n\n## Compilation with CMake\n\nThe simplest way to use CMake is to download an archive with a name like `so5_tricky_thread_pool_disp_en-*-full.zip` from [Releases](https://github.com/Stiffstream/so5_tricky_thread_pool_disp_en/releases). Then:\n\n```sh\nunzip so5_tricky_thread_pool_disp_en-202204221030-full.zip\ncd so5_tricky_thread_pool_disp_en/dev\nmkdir cmake_build\ncd cmake_build\ncmake ..\ncmake --build . --config Release\n```\n\nThe complied example should be inside `bin` subfolder.\n\n\n## Compilation with MxxRu\n\nTo 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).\nTo install MxxRu the following command should be run:\n\n```sh\ngem install Mxx_ru\n```\n\nAfter the installation of Ruby, RubyGems and MxxRu the examples can be taken from the git-repository:\n\n```sh\nhg clone https://github.com/Stiffstream/so5_tricky_thread_pool_disp_en\ncd so5_tricky_thread_pool_disp_en\nmxxruexternals\ncd dev\nruby build.rb\n```\n\nOr an archive with a name like `so5_tricky_thread_pool_disp_en-*-full.zip` can be downloaded from [Releases](https://github.com/Stiffstream/so5_tricky_thread_pool_disp_en/releases). Then:\n\n```sh\nunzip so5_tricky_thread_pool_disp_en-201909051300-full.zip\ncd so5_tricky_thread_pool_disp_en/dev\nruby build.rb\n```\n\nThe complied example should be inside `target/release` subfolder.\n\nOne can also do the following command before the compilation:\n\n```sh\ncp local-build.rb.example local-build.rb\n```\n\nThe content of `local-build.rb` can be edited to reflect the specific needs of a user.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstiffstream%2Fso5_tricky_thread_pool_disp_en","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstiffstream%2Fso5_tricky_thread_pool_disp_en","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstiffstream%2Fso5_tricky_thread_pool_disp_en/lists"}