{"id":13709888,"url":"https://github.com/SG-lunch/CGOPP","last_synced_at":"2025-05-06T18:33:17.599Z","repository":{"id":77763834,"uuid":"179177819","full_name":"SG-lunch/CGOPP","owner":"SG-lunch","description":"go style channel in C++ based on coroutine","archived":false,"fork":false,"pushed_at":"2019-07-30T08:28:00.000Z","size":1030,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T23:16:44.939Z","etag":null,"topics":["channel","coroutine","cpp","cpp20","go"],"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/SG-lunch.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-04-03T00:09:11.000Z","updated_at":"2019-07-30T08:28:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"6be1d007-ccc7-4043-931a-eafa4b923623","html_url":"https://github.com/SG-lunch/CGOPP","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/SG-lunch%2FCGOPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SG-lunch%2FCGOPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SG-lunch%2FCGOPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SG-lunch%2FCGOPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SG-lunch","download_url":"https://codeload.github.com/SG-lunch/CGOPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224521422,"owners_count":17325232,"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":["channel","coroutine","cpp","cpp20","go"],"created_at":"2024-08-02T23:00:47.954Z","updated_at":"2024-11-13T20:30:34.276Z","avatar_url":"https://github.com/SG-lunch.png","language":"C++","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# CGOPP\n##We implemented async channel in cpp based on coroutine.\nfiles:\n1. async\\_channel.hpp is our main header file.\n\t\n2. test\\_thread\\_pool.cpp is a sample test file.\n\t\n3. cppcoro : this is facebook coroutine library (https://github.com/lewissbaker/cppcoro) with little modifications by ourself.\n\t\n4. sync\\_channel.hpp, cgo\\_scheduler.hpp are future work.\n\n5. cppcoro, facebook coroutine library with slightly modifications. https://github.com/lewissbaker/cppcoro.\n\n5. etc.\n\n\ncompile :\n\tclang++ -std=c++17 -fcoroutines-ts target.cpp -stdlib=libc++ -L/path-to-lib/cppcoro/build/linux_x64_clang9.0.0_optimised/lib -I/path-to-include/cppcoro/include -lcppcoro -lpthread\n\nsource :\n\tThreadPool.h is from https://github.com/progschj/ThreadPool/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSG-lunch%2FCGOPP","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSG-lunch%2FCGOPP","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSG-lunch%2FCGOPP/lists"}