{"id":21057769,"url":"https://github.com/randruc/cyclicsyncprocesses","last_synced_at":"2025-06-29T11:33:06.592Z","repository":{"id":80501105,"uuid":"170216965","full_name":"randruc/CyclicSyncProcesses","owner":"randruc","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-11T23:21:45.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T19:34:53.807Z","etag":null,"topics":["c","posix","unix"],"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/randruc.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-02-11T23:06:17.000Z","updated_at":"2022-02-07T13:22:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"01341121-2f6b-43f2-8c0c-a47f6df903b8","html_url":"https://github.com/randruc/CyclicSyncProcesses","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/randruc%2FCyclicSyncProcesses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randruc%2FCyclicSyncProcesses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randruc%2FCyclicSyncProcesses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randruc%2FCyclicSyncProcesses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/randruc","download_url":"https://codeload.github.com/randruc/CyclicSyncProcesses/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243502373,"owners_count":20301040,"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","posix","unix"],"created_at":"2024-11-19T17:04:37.667Z","updated_at":"2025-03-14T00:27:14.961Z","avatar_url":"https://github.com/randruc.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Remi Andruccioli  \nFebruary 2019  \n\nThis is a thought on the interview question dealt by Vorbrodt in this blog post:\nhttp://blog.vorbrodt.me/?p=584\n\nI like the implementation offered in this blog post.  \nTherefore I decided to post an implementation with 2 processes instead of 2\nthreads.  \nThe difference is that 2 processes have distinct memory areas by default.  \nSo as one of the many possible implementations, I use Unix pipes as a way of\nsignaling events.  \nIn each loop the PID of the process is printed followed by the letter A or B.  \n\nTo compile:  \ngcc -Wall -Wextra -Werror -pedantic -std=c89 cyclic_sync_processes.c\n\nThis source code is under public domain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandruc%2Fcyclicsyncprocesses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandruc%2Fcyclicsyncprocesses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandruc%2Fcyclicsyncprocesses/lists"}