{"id":23116872,"url":"https://github.com/zong4/multi-thread","last_synced_at":"2025-04-04T01:26:50.383Z","repository":{"id":250239914,"uuid":"833892285","full_name":"zong4/Multi-thread","owner":"zong4","description":"Complex job system","archived":false,"fork":false,"pushed_at":"2024-07-26T02:11:09.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T13:14:15.882Z","etag":null,"topics":["cpp","jobsystem","multithreading","threadpool"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zong4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-26T01:42:03.000Z","updated_at":"2024-07-26T02:16:15.000Z","dependencies_parsed_at":"2024-07-26T03:29:35.756Z","dependency_job_id":null,"html_url":"https://github.com/zong4/Multi-thread","commit_stats":null,"previous_names":["zong4/multithread"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zong4%2FMulti-thread","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zong4%2FMulti-thread/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zong4%2FMulti-thread/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zong4%2FMulti-thread/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zong4","download_url":"https://codeload.github.com/zong4/Multi-thread/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247105877,"owners_count":20884516,"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":["cpp","jobsystem","multithreading","threadpool"],"created_at":"2024-12-17T04:17:40.692Z","updated_at":"2025-04-04T01:26:50.365Z","avatar_url":"https://github.com/zong4.png","language":"C++","readme":"# Multi-thread\n\n## Include\n\n### thread_pool\n\nIt's a simple job system rather than thread pool by locks which may loss preformance.\n\n### job_system\n\nTo learn Lock-Free Programming firstly.\n\nHere is the plan.\n\n- [✔] Free lock deques\n- [✔] Steal jobs\n- [✖] **Three deque cache**\n- [✖] Distribute jobs\n\nWell, it like a factory, main thread creates jobs -\u003e job poll distributes jobs -\u003e deques in job pool stores jobs -\u003e deques of threads get jobs -\u003e threads do jobs.\n\nOver all, I think the most important theroy in Lock-Free Programming is avoiding collision(like deque or cache).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzong4%2Fmulti-thread","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzong4%2Fmulti-thread","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzong4%2Fmulti-thread/lists"}