{"id":25016658,"url":"https://github.com/mateusjssilva/philosophers-dinner","last_synced_at":"2025-03-30T07:43:12.210Z","repository":{"id":175308837,"uuid":"633844635","full_name":"MateusjsSilva/philosophers-dinner","owner":"MateusjsSilva","description":"A C program simulating the \"Dining Philosophers\" problem using threads and mutexes to manage resource sharing and prevent deadlock. Each philosopher is a thread, and mutexes represent chopsticks, ensuring safe concurrent access.","archived":false,"fork":false,"pushed_at":"2024-09-15T15:15:16.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T09:54:01.190Z","etag":null,"topics":["c","mutex","operating-system","philosophers-dinner-problem","synchronization","theads"],"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/MateusjsSilva.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":"2023-04-28T12:13:34.000Z","updated_at":"2024-11-05T19:14:40.000Z","dependencies_parsed_at":"2024-09-15T16:42:29.186Z","dependency_job_id":null,"html_url":"https://github.com/MateusjsSilva/philosophers-dinner","commit_stats":null,"previous_names":["mateusjssilva/jantar-dos-filosofos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fphilosophers-dinner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fphilosophers-dinner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fphilosophers-dinner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fphilosophers-dinner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MateusjsSilva","download_url":"https://codeload.github.com/MateusjsSilva/philosophers-dinner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290581,"owners_count":20753724,"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","mutex","operating-system","philosophers-dinner-problem","synchronization","theads"],"created_at":"2025-02-05T09:54:05.520Z","updated_at":"2025-03-30T07:43:12.188Z","avatar_url":"https://github.com/MateusjsSilva.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# philosophers dinner\nThis is a C program that simulates the classic \"Philosophers' Dinner\" problem using threads and mutexes. The code implements the solution to avoid deadlock and the deadlock condition, using mutexes to represent the chopsticks and a shared variable to indicate which philosophers are currently eating.\n\n## Contribution\n\nFeel free to open issues or submit pull requests. All contributions are welcome!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateusjssilva%2Fphilosophers-dinner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmateusjssilva%2Fphilosophers-dinner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateusjssilva%2Fphilosophers-dinner/lists"}