{"id":18123142,"url":"https://github.com/anagmrebelo/42_philosophers","last_synced_at":"2025-10-19T09:52:59.069Z","repository":{"id":72916708,"uuid":"604535001","full_name":"anagmrebelo/42_philosophers","owner":"anagmrebelo","description":"Precisely time a group of philosophers on when to pick up forks and eat spaghetti without dying from hunger","archived":false,"fork":false,"pushed_at":"2023-02-21T23:09:32.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T18:46:51.602Z","etag":null,"topics":["42","common-core"],"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/anagmrebelo.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":"2023-02-21T09:08:22.000Z","updated_at":"2023-02-21T19:14:16.000Z","dependencies_parsed_at":"2023-05-26T01:30:26.939Z","dependency_job_id":null,"html_url":"https://github.com/anagmrebelo/42_philosophers","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"06d755674d5f8792b06356926f44c604b8999821"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anagmrebelo%2F42_philosophers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anagmrebelo%2F42_philosophers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anagmrebelo%2F42_philosophers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anagmrebelo%2F42_philosophers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anagmrebelo","download_url":"https://codeload.github.com/anagmrebelo/42_philosophers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485251,"owners_count":20946398,"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":["42","common-core"],"created_at":"2024-11-01T07:08:16.670Z","updated_at":"2025-10-19T09:52:54.025Z","avatar_url":"https://github.com/anagmrebelo.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# philosophers\n\n## Project description:\nEat, Sleep, Think, repeat 🍽💤💭\\\nThis project is about learning how threads work by precisely timing a group of philosophers on when to pick up forks and eat spaghetti without dying from hunger. Got familiarized with concepts of threading and forking a proces, mutexes and semaphores\n\n## Grade\n100%\n\n## Usage\n\n```make```\\\n```./a.out``` will take as parameters ```number_of_philosophers time_to_die time_to_eat time_to_sleep number_of_times_each_philosopher_must_eat```\\\n[number_of_times_each_philosopher_must_eat] is optional\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanagmrebelo%2F42_philosophers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanagmrebelo%2F42_philosophers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanagmrebelo%2F42_philosophers/lists"}