{"id":23238736,"url":"https://github.com/satyammittal/multithreaded-sequential-print","last_synced_at":"2025-04-05T21:29:29.557Z","repository":{"id":129236405,"uuid":"150734819","full_name":"satyammittal/Multithreaded-Sequential-Print","owner":"satyammittal","description":"Print strings sequentially among threads","archived":false,"fork":false,"pushed_at":"2018-09-28T12:18:59.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T01:54:48.357Z","etag":null,"topics":["c-plus-plus-11","mutual-exclusion","operating-system","threading"],"latest_commit_sha":null,"homepage":null,"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/satyammittal.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":"2018-09-28T12:07:19.000Z","updated_at":"2018-11-01T05:22:04.000Z","dependencies_parsed_at":"2023-05-09T20:47:26.928Z","dependency_job_id":null,"html_url":"https://github.com/satyammittal/Multithreaded-Sequential-Print","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyammittal%2FMultithreaded-Sequential-Print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyammittal%2FMultithreaded-Sequential-Print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyammittal%2FMultithreaded-Sequential-Print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyammittal%2FMultithreaded-Sequential-Print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/satyammittal","download_url":"https://codeload.github.com/satyammittal/Multithreaded-Sequential-Print/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247405263,"owners_count":20933781,"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":["c-plus-plus-11","mutual-exclusion","operating-system","threading"],"created_at":"2024-12-19T04:19:24.062Z","updated_at":"2025-04-05T21:29:29.539Z","avatar_url":"https://github.com/satyammittal.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multithreaded-Sequential-Print\n\nProgram which prints string sequentially in k iterations among n threads.\n\n# Principles Used\n\na) Mutual Exclusion\n\nb) Starvation Prevention\n\n# Installation\n\ncmake .\nmake\n./output \u003cstring\u003e \u003cp\u003e \u003ck\u003e \u003cn\u003e\n\np: number of threads\n\nk: number of times to print\n\nn: length of substring\n\n# Test files\n\n`tests/stress_test.txt`\n`tests/manual_test.txt`\n\n# How to test\n\n./tests/run.sh tests/manual_test.txt\n\n./tests/run.sh tests/stress_test.txt\n\nTo generate more tests,\n\ng++ -std=c++11 tests/test.cpp\n\n./a.out \u003e testfile\n\n# References\n\na) https://www.youtube.com/watch?v=LL8wkskDlbs\u0026list=PL5jc9xFGsL8E12so1wlMS0r0hTQoJL74M\u0026index=1\n\nb) http://www.acodersjourney.com/2017/08/top-20-cplusplus-multithreading-mistakes/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatyammittal%2Fmultithreaded-sequential-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatyammittal%2Fmultithreaded-sequential-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatyammittal%2Fmultithreaded-sequential-print/lists"}