{"id":45013551,"url":"https://github.com/biralavor/42_philosophers","last_synced_at":"2026-02-19T00:23:03.107Z","repository":{"id":258659099,"uuid":"874363280","full_name":"biralavor/42_philosophers","owner":"biralavor","description":"WIP - a classic multithread program to learn how to avoid data race and deadlock issues","archived":false,"fork":false,"pushed_at":"2025-01-25T22:37:37.000Z","size":319,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T22:38:14.249Z","etag":null,"topics":["42projects","42school","datarace","deadlock","philosophers-dinner-problem","thread"],"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/biralavor.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-10-17T17:34:55.000Z","updated_at":"2024-11-10T19:14:34.000Z","dependencies_parsed_at":"2025-01-25T22:33:37.342Z","dependency_job_id":"5215b6d1-9604-4ce3-8021-3ac3fe7a2bc9","html_url":"https://github.com/biralavor/42_philosophers","commit_stats":null,"previous_names":["biralavor/42_philosophers"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/biralavor/42_philosophers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biralavor%2F42_philosophers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biralavor%2F42_philosophers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biralavor%2F42_philosophers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biralavor%2F42_philosophers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biralavor","download_url":"https://codeload.github.com/biralavor/42_philosophers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biralavor%2F42_philosophers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29599339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["42projects","42school","datarace","deadlock","philosophers-dinner-problem","thread"],"created_at":"2026-02-19T00:23:00.476Z","updated_at":"2026-02-19T00:23:03.095Z","avatar_url":"https://github.com/biralavor.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42_philosophers\n\n| ![philosopherse](https://github.com/user-attachments/assets/3a5e657f-80cf-4da6-accd-279d1fdc21da) | A classic multithread program \u003cbr\u003e to learn how to avoid \u003cbr\u003e `data racing` and `dead lock` issues | ![100sucess](https://github.com/biralavor/42_libft/assets/80487147/814c0fe9-cf93-4f9d-bd18-5d588a896ea4) |\n| :-: | :-: | :-: |\n\n\n\n## My take-aways about Philosophers project are:\n\n## How to run:\nHere is a few pre-setup possibilities. Note that all of them are adding the `args_to_test` variable as an argument to run `./philo`\n- `make go` :: **Let's Go mode**\n  - For checking how the threads are running, without changes.\n- `make gdb` :: **GNU DeBugger mode**\n  - For debugging propuses, with a lot of pre-setup executables, like `run`, breakpoint at `main`,  and `set args`.\n- `make val` :: **Valgrind mode**\n  - For checking memory leaks, this will calls valgridn with a lot of options.\n- `make hel` :: **Helgrind mode**\n  - For checking Threads errors, this will calls valgrind with the `helgrind` tool activated.\n- `make drd` :: **Data Race Detector - DRD mode**\n  - For checking Data Race errors from Threads, this will calls valgrind with the `drd` tool activated.\n- `make sani_t` :: **Fsanitize for Threads mode**\n  - For checking various forms of undefined or suspicious behaviors, switching to `threads` mode.\n- `make sani_a` :: **Fsanitize for Address mode**\n  - For checking various forms of undefined or suspicious behaviors, switching to `address` mode.\n\n![image](https://github.com/user-attachments/assets/d090497b-f9fd-47de-a8d8-be8b7330d541)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiralavor%2F42_philosophers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiralavor%2F42_philosophers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiralavor%2F42_philosophers/lists"}